| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z 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.67 for ircd-hybrid 7.3-rc1. |
| 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 |
|
## -------------------- ## |
| 174 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 175 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 176 |
|
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 177 |
+ |
|
| 178 |
+ |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 179 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 180 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 181 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 182 |
+ |
PATH=/empty FPATH=/empty; export PATH FPATH |
| 183 |
+ |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 184 |
+ |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| 185 |
|
test \$(( 1 + 1 )) = 2 || exit 1" |
| 186 |
|
if (eval "$as_required") 2>/dev/null; then : |
| 187 |
|
as_have_required=yes |
| 239 |
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 240 |
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 241 |
|
else |
| 242 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
| 243 |
< |
$0: including any error possibly output before this |
| 244 |
< |
$0: message. Then install a modern shell, or manually run |
| 245 |
< |
$0: the script under such a shell if you do have one." |
| 242 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 243 |
> |
$0: bugs@ircd-hybrid.org about your system, including any |
| 244 |
> |
$0: error possibly output before this message. Then install |
| 245 |
> |
$0: a modern shell, or manually run the script under such a |
| 246 |
> |
$0: shell if you do have one." |
| 247 |
|
fi |
| 248 |
|
exit 1 |
| 249 |
|
fi |
| 328 |
|
test -d "$as_dir" && break |
| 329 |
|
done |
| 330 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 331 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 331 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 332 |
|
|
| 333 |
|
|
| 334 |
|
} # as_fn_mkdir_p |
| 368 |
|
fi # as_fn_arith |
| 369 |
|
|
| 370 |
|
|
| 371 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 372 |
< |
# --------------------------------- |
| 371 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 372 |
> |
# ---------------------------------------- |
| 373 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 374 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 375 |
< |
# script with status $?, using 1 if that was 0. |
| 375 |
> |
# script with STATUS, using 1 if that was 0. |
| 376 |
|
as_fn_error () |
| 377 |
|
{ |
| 378 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 379 |
< |
if test "$3"; then |
| 380 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 381 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 378 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 379 |
> |
if test "$4"; then |
| 380 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 381 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 382 |
|
fi |
| 383 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 383 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 384 |
|
as_fn_exit $as_status |
| 385 |
|
} # as_fn_error |
| 386 |
|
|
| 537 |
|
# Sed expression to map a string onto a valid variable name. |
| 538 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 539 |
|
|
| 540 |
+ |
lt_ltdl_dir='libltdl' |
| 541 |
|
|
| 528 |
– |
|
| 529 |
– |
# Check that we are running under the correct shell. |
| 542 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
| 543 |
|
|
| 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 |
– |
|
| 544 |
|
|
| 545 |
< |
lt_ltdl_dir='libltdl' |
| 546 |
< |
|
| 679 |
< |
lt_dlopen_dir="$lt_ltdl_dir" |
| 680 |
< |
|
| 681 |
< |
exec 7<&0 </dev/null 6>&1 |
| 545 |
> |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 546 |
> |
exec 6>&1 |
| 547 |
|
|
| 548 |
|
# Name of the host. |
| 549 |
< |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 549 |
> |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 550 |
|
# so uname gets run too. |
| 551 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 552 |
|
|
| 565 |
|
# Identity of this package. |
| 566 |
|
PACKAGE_NAME='ircd-hybrid' |
| 567 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 568 |
< |
PACKAGE_VERSION='7.2.4' |
| 569 |
< |
PACKAGE_STRING='ircd-hybrid 7.2.4' |
| 570 |
< |
PACKAGE_BUGREPORT='' |
| 568 |
> |
PACKAGE_VERSION='7.3-rc1' |
| 569 |
> |
PACKAGE_STRING='ircd-hybrid 7.3-rc1' |
| 570 |
> |
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 571 |
|
PACKAGE_URL='' |
| 572 |
|
|
| 573 |
|
ac_unique_file="src/ircd.c" |
| 607 |
|
# include <unistd.h> |
| 608 |
|
#endif" |
| 609 |
|
|
| 745 |
– |
enable_option_checking=no |
| 610 |
|
ac_func_list= |
| 611 |
|
ac_header_list= |
| 612 |
|
ac_subst_vars='ltdl_LTLIBOBJS |
| 624 |
|
EFNET_TRUE |
| 625 |
|
ENABLE_SSL_FALSE |
| 626 |
|
ENABLE_SSL_TRUE |
| 627 |
< |
HAVE_CRYPT_FALSE |
| 628 |
< |
HAVE_CRYPT_TRUE |
| 627 |
> |
ENABLE_PCRE_FALSE |
| 628 |
> |
ENABLE_PCRE_TRUE |
| 629 |
|
LTDLOPEN |
| 630 |
|
LT_CONFIG_H |
| 767 |
– |
subdirs |
| 631 |
|
CONVENIENCE_LTDL_FALSE |
| 632 |
|
CONVENIENCE_LTDL_TRUE |
| 633 |
|
INSTALL_LTDL_FALSE |
| 650 |
|
LIPO |
| 651 |
|
NMEDIT |
| 652 |
|
DSYMUTIL |
| 790 |
– |
lt_ECHO |
| 653 |
|
RANLIB |
| 654 |
|
AR |
| 655 |
|
OBJDUMP |
| 761 |
|
enable_option_checking |
| 762 |
|
enable_maintainer_mode |
| 763 |
|
enable_dependency_tracking |
| 902 |
– |
enable_shared |
| 764 |
|
enable_static |
| 765 |
+ |
enable_shared |
| 766 |
|
with_pic |
| 767 |
|
enable_fast_install |
| 768 |
|
with_gnu_ld |
| 773 |
|
enable_ltdl_install |
| 774 |
|
with_zlib_path |
| 775 |
|
enable_zlib |
| 776 |
+ |
with_libpcre_path |
| 777 |
+ |
enable_libpcre |
| 778 |
|
enable_openssl |
| 779 |
|
enable_assert |
| 780 |
|
enable_small_net |
| 804 |
|
YACC |
| 805 |
|
YFLAGS |
| 806 |
|
CPP' |
| 807 |
< |
ac_subdirs_all='libltdl' |
| 807 |
> |
|
| 808 |
|
|
| 809 |
|
# Initialize some variables set by options. |
| 810 |
|
ac_init_help= |
| 866 |
|
fi |
| 867 |
|
|
| 868 |
|
case $ac_option in |
| 869 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 870 |
< |
*) ac_optarg=yes ;; |
| 869 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 870 |
> |
*=) ac_optarg= ;; |
| 871 |
> |
*) ac_optarg=yes ;; |
| 872 |
|
esac |
| 873 |
|
|
| 874 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 913 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 914 |
|
# Reject names that are not valid shell variable names. |
| 915 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 916 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 916 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 917 |
|
ac_useropt_orig=$ac_useropt |
| 918 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 919 |
|
case $ac_user_opts in |
| 939 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 940 |
|
# Reject names that are not valid shell variable names. |
| 941 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 942 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 942 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 943 |
|
ac_useropt_orig=$ac_useropt |
| 944 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 945 |
|
case $ac_user_opts in |
| 1143 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1144 |
|
# Reject names that are not valid shell variable names. |
| 1145 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1146 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1146 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1147 |
|
ac_useropt_orig=$ac_useropt |
| 1148 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1149 |
|
case $ac_user_opts in |
| 1159 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1160 |
|
# Reject names that are not valid shell variable names. |
| 1161 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1162 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1162 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1163 |
|
ac_useropt_orig=$ac_useropt |
| 1164 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1165 |
|
case $ac_user_opts in |
| 1189 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1190 |
|
x_libraries=$ac_optarg ;; |
| 1191 |
|
|
| 1192 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
| 1193 |
< |
Try \`$0 --help' for more information." |
| 1192 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1193 |
> |
Try \`$0 --help' for more information" |
| 1194 |
|
;; |
| 1195 |
|
|
| 1196 |
|
*=*) |
| 1198 |
|
# Reject names that are not valid shell variable names. |
| 1199 |
|
case $ac_envvar in #( |
| 1200 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1201 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1201 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1202 |
|
esac |
| 1203 |
|
eval $ac_envvar=\$ac_optarg |
| 1204 |
|
export $ac_envvar ;; |
| 1216 |
|
|
| 1217 |
|
if test -n "$ac_prev"; then |
| 1218 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1219 |
< |
as_fn_error "missing argument to $ac_option" |
| 1219 |
> |
as_fn_error $? "missing argument to $ac_option" |
| 1220 |
|
fi |
| 1221 |
|
|
| 1222 |
|
if test -n "$ac_unrecognized_opts"; then |
| 1223 |
|
case $enable_option_checking in |
| 1224 |
|
no) ;; |
| 1225 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1225 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1226 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1227 |
|
esac |
| 1228 |
|
fi |
| 1245 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
| 1246 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1247 |
|
esac |
| 1248 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1248 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1249 |
|
done |
| 1250 |
|
|
| 1251 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1259 |
|
if test "x$host_alias" != x; then |
| 1260 |
|
if test "x$build_alias" = x; then |
| 1261 |
|
cross_compiling=maybe |
| 1262 |
< |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1263 |
< |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1262 |
> |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1263 |
> |
If a cross compiler is detected then cross compile mode will be used" >&2 |
| 1264 |
|
elif test "x$build_alias" != "x$host_alias"; then |
| 1265 |
|
cross_compiling=yes |
| 1266 |
|
fi |
| 1275 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1276 |
|
ac_ls_di=`ls -di .` && |
| 1277 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1278 |
< |
as_fn_error "working directory cannot be determined" |
| 1278 |
> |
as_fn_error $? "working directory cannot be determined" |
| 1279 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1280 |
< |
as_fn_error "pwd does not report name of working directory" |
| 1280 |
> |
as_fn_error $? "pwd does not report name of working directory" |
| 1281 |
|
|
| 1282 |
|
|
| 1283 |
|
# Find the source files, if location was not specified. |
| 1316 |
|
fi |
| 1317 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1318 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1319 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1319 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1320 |
|
fi |
| 1321 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1322 |
|
ac_abs_confdir=`( |
| 1323 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1323 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1324 |
|
pwd)` |
| 1325 |
|
# When building in place, set srcdir=. |
| 1326 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1346 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1347 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1348 |
|
cat <<_ACEOF |
| 1349 |
< |
\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
| 1349 |
> |
\`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems. |
| 1350 |
|
|
| 1351 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1352 |
|
|
| 1360 |
|
--help=short display options specific to this package |
| 1361 |
|
--help=recursive display the short help of all the included packages |
| 1362 |
|
-V, --version display version information and exit |
| 1363 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
| 1363 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1364 |
|
--cache-file=FILE cache test results in FILE [disabled] |
| 1365 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1366 |
|
-n, --no-create do not create output files |
| 1416 |
|
|
| 1417 |
|
if test -n "$ac_init_help"; then |
| 1418 |
|
case $ac_init_help in |
| 1419 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
| 1419 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";; |
| 1420 |
|
esac |
| 1421 |
|
cat <<\_ACEOF |
| 1422 |
|
|
| 1428 |
|
(and sometimes confusing) to the casual installer |
| 1429 |
|
--disable-dependency-tracking speeds up one-time build |
| 1430 |
|
--enable-dependency-tracking do not reject slow dependency extractors |
| 1431 |
+ |
--enable-static[=PKGS] build static libraries [default=no] |
| 1432 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1567 |
– |
--enable-static[=PKGS] build static libraries [default=yes] |
| 1433 |
|
--enable-fast-install[=PKGS] |
| 1434 |
|
optimize for fast installation [default=yes] |
| 1435 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1436 |
|
--enable-ltdl-install install libltdl |
| 1437 |
|
--disable-zlib Disable ziplinks support |
| 1438 |
+ |
--disable-libpcre Disable PCRE support |
| 1439 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1440 |
|
--disable-openssl Disable OpenSSL support. |
| 1441 |
|
--enable-assert Enable assert() statements |
| 1464 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1465 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1466 |
|
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1467 |
+ |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1468 |
|
--with-nicklen=<value> Set nickname length (default 9). |
| 1469 |
|
--with-topiclen=<value> Set topic length (default 160). |
| 1470 |
|
--with-syslog-facility=LOG |
| 1477 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1478 |
|
nonstandard directory <lib dir> |
| 1479 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1480 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1480 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1481 |
|
you have headers in a nonstandard directory <include dir> |
| 1482 |
|
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1483 |
|
the first program found out of: `bison -y', `byacc', `yacc'. |
| 1489 |
|
Use these variables to override the choices made by `configure' or to help |
| 1490 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1491 |
|
|
| 1492 |
< |
Report bugs to the package provider. |
| 1492 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
| 1493 |
|
_ACEOF |
| 1494 |
|
ac_status=$? |
| 1495 |
|
fi |
| 1552 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1553 |
|
if $ac_init_version; then |
| 1554 |
|
cat <<\_ACEOF |
| 1555 |
< |
ircd-hybrid configure 7.2.4 |
| 1556 |
< |
generated by GNU Autoconf 2.64 |
| 1555 |
> |
ircd-hybrid configure 7.3-rc1 |
| 1556 |
> |
generated by GNU Autoconf 2.67 |
| 1557 |
|
|
| 1558 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1558 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 1559 |
|
This configure script is free software; the Free Software Foundation |
| 1560 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1561 |
|
_ACEOF |
| 1600 |
|
ac_retval=1 |
| 1601 |
|
fi |
| 1602 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1603 |
< |
return $ac_retval |
| 1603 |
> |
as_fn_set_status $ac_retval |
| 1604 |
|
|
| 1605 |
|
} # ac_fn_c_try_compile |
| 1606 |
|
|
| 1646 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1647 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1648 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1649 |
< |
return $ac_retval |
| 1649 |
> |
as_fn_set_status $ac_retval |
| 1650 |
|
|
| 1651 |
|
} # ac_fn_c_try_link |
| 1652 |
|
|
| 1659 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1660 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1661 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1662 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1662 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1663 |
|
$as_echo_n "(cached) " >&6 |
| 1664 |
|
else |
| 1665 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1702 |
|
mv -f conftest.er1 conftest.err |
| 1703 |
|
fi |
| 1704 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1705 |
< |
test $ac_status = 0; } >/dev/null && { |
| 1705 |
> |
test $ac_status = 0; } > conftest.i && { |
| 1706 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1707 |
|
test ! -s conftest.err |
| 1708 |
|
}; then : |
| 1714 |
|
ac_retval=1 |
| 1715 |
|
fi |
| 1716 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1717 |
< |
return $ac_retval |
| 1717 |
> |
as_fn_set_status $ac_retval |
| 1718 |
|
|
| 1719 |
|
} # ac_fn_c_try_cpp |
| 1720 |
|
|
| 1756 |
|
fi |
| 1757 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1758 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1759 |
< |
return $ac_retval |
| 1759 |
> |
as_fn_set_status $ac_retval |
| 1760 |
|
|
| 1761 |
|
} # ac_fn_c_try_run |
| 1762 |
|
|
| 1768 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1769 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1770 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1771 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1771 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1772 |
|
$as_echo_n "(cached) " >&6 |
| 1773 |
|
else |
| 1774 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1827 |
|
|
| 1828 |
|
} # ac_fn_c_check_func |
| 1829 |
|
|
| 1830 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
| 1831 |
< |
# ------------------------------------ |
| 1832 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
| 1830 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
| 1831 |
> |
# --------------------------------------------- |
| 1832 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 1833 |
> |
# accordingly. |
| 1834 |
|
ac_fn_c_check_decl () |
| 1835 |
|
{ |
| 1836 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1837 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
| 1838 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
| 1839 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1837 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 1838 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1839 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1840 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1841 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1842 |
|
$as_echo_n "(cached) " >&6 |
| 1843 |
|
else |
| 1844 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1847 |
|
int |
| 1848 |
|
main () |
| 1849 |
|
{ |
| 1850 |
< |
#ifndef $2 |
| 1851 |
< |
(void) $2; |
| 1850 |
> |
#ifndef $as_decl_name |
| 1851 |
> |
#ifdef __cplusplus |
| 1852 |
> |
(void) $as_decl_use; |
| 1853 |
> |
#else |
| 1854 |
> |
(void) $as_decl_name; |
| 1855 |
> |
#endif |
| 1856 |
|
#endif |
| 1857 |
|
|
| 1858 |
|
; |
| 1882 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1883 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1884 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1885 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1885 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1886 |
|
$as_echo_n "(cached) " >&6 |
| 1887 |
|
else |
| 1888 |
|
eval "$3=no" |
| 1936 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1937 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1938 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
| 1939 |
< |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1939 |
> |
if eval "test \"\${$4+set}\"" = set; then : |
| 1940 |
|
$as_echo_n "(cached) " >&6 |
| 1941 |
|
else |
| 1942 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1984 |
|
|
| 1985 |
|
} # ac_fn_c_check_member |
| 1986 |
|
|
| 2113 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 2114 |
– |
# -------------------------------------------- |
| 2115 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
| 2116 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 2117 |
– |
# computed |
| 2118 |
– |
ac_fn_c_compute_int () |
| 2119 |
– |
{ |
| 2120 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2121 |
– |
if test "$cross_compiling" = yes; then |
| 2122 |
– |
# Depending upon the size, compute the lo and hi bounds. |
| 2123 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2124 |
– |
/* end confdefs.h. */ |
| 2125 |
– |
$4 |
| 2126 |
– |
int |
| 2127 |
– |
main () |
| 2128 |
– |
{ |
| 2129 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
| 2130 |
– |
test_array [0] = 0 |
| 2131 |
– |
|
| 2132 |
– |
; |
| 2133 |
– |
return 0; |
| 2134 |
– |
} |
| 2135 |
– |
_ACEOF |
| 2136 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2137 |
– |
ac_lo=0 ac_mid=0 |
| 2138 |
– |
while :; do |
| 2139 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2140 |
– |
/* end confdefs.h. */ |
| 2141 |
– |
$4 |
| 2142 |
– |
int |
| 2143 |
– |
main () |
| 2144 |
– |
{ |
| 2145 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2146 |
– |
test_array [0] = 0 |
| 2147 |
– |
|
| 2148 |
– |
; |
| 2149 |
– |
return 0; |
| 2150 |
– |
} |
| 2151 |
– |
_ACEOF |
| 2152 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2153 |
– |
ac_hi=$ac_mid; break |
| 2154 |
– |
else |
| 2155 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
| 2156 |
– |
if test $ac_lo -le $ac_mid; then |
| 2157 |
– |
ac_lo= ac_hi= |
| 2158 |
– |
break |
| 2159 |
– |
fi |
| 2160 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 2161 |
– |
fi |
| 2162 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2163 |
– |
done |
| 2164 |
– |
else |
| 2165 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2166 |
– |
/* end confdefs.h. */ |
| 2167 |
– |
$4 |
| 2168 |
– |
int |
| 2169 |
– |
main () |
| 2170 |
– |
{ |
| 2171 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
| 2172 |
– |
test_array [0] = 0 |
| 2173 |
– |
|
| 2174 |
– |
; |
| 2175 |
– |
return 0; |
| 2176 |
– |
} |
| 2177 |
– |
_ACEOF |
| 2178 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2179 |
– |
ac_hi=-1 ac_mid=-1 |
| 2180 |
– |
while :; do |
| 2181 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2182 |
– |
/* end confdefs.h. */ |
| 2183 |
– |
$4 |
| 2184 |
– |
int |
| 2185 |
– |
main () |
| 2186 |
– |
{ |
| 2187 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2188 |
– |
test_array [0] = 0 |
| 2189 |
– |
|
| 2190 |
– |
; |
| 2191 |
– |
return 0; |
| 2192 |
– |
} |
| 2193 |
– |
_ACEOF |
| 2194 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2195 |
– |
ac_lo=$ac_mid; break |
| 2196 |
– |
else |
| 2197 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 2198 |
– |
if test $ac_mid -le $ac_hi; then |
| 2199 |
– |
ac_lo= ac_hi= |
| 2200 |
– |
break |
| 2201 |
– |
fi |
| 2202 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
| 2203 |
– |
fi |
| 2204 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2205 |
– |
done |
| 2206 |
– |
else |
| 2207 |
– |
ac_lo= ac_hi= |
| 2208 |
– |
fi |
| 2209 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2210 |
– |
fi |
| 2211 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2212 |
– |
# Binary search between lo and hi bounds. |
| 2213 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
| 2214 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
| 2215 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2216 |
– |
/* end confdefs.h. */ |
| 2217 |
– |
$4 |
| 2218 |
– |
int |
| 2219 |
– |
main () |
| 2220 |
– |
{ |
| 2221 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2222 |
– |
test_array [0] = 0 |
| 2223 |
– |
|
| 2224 |
– |
; |
| 2225 |
– |
return 0; |
| 2226 |
– |
} |
| 2227 |
– |
_ACEOF |
| 2228 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2229 |
– |
ac_hi=$ac_mid |
| 2230 |
– |
else |
| 2231 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2232 |
– |
fi |
| 2233 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2234 |
– |
done |
| 2235 |
– |
case $ac_lo in #(( |
| 2236 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2237 |
– |
'') ac_retval=1 ;; |
| 2238 |
– |
esac |
| 2239 |
– |
else |
| 2240 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2241 |
– |
/* end confdefs.h. */ |
| 2242 |
– |
$4 |
| 2243 |
– |
static long int longval () { return $2; } |
| 2244 |
– |
static unsigned long int ulongval () { return $2; } |
| 2245 |
– |
#include <stdio.h> |
| 2246 |
– |
#include <stdlib.h> |
| 2247 |
– |
int |
| 2248 |
– |
main () |
| 2249 |
– |
{ |
| 2250 |
– |
|
| 2251 |
– |
FILE *f = fopen ("conftest.val", "w"); |
| 2252 |
– |
if (! f) |
| 2253 |
– |
return 1; |
| 2254 |
– |
if (($2) < 0) |
| 2255 |
– |
{ |
| 2256 |
– |
long int i = longval (); |
| 2257 |
– |
if (i != ($2)) |
| 2258 |
– |
return 1; |
| 2259 |
– |
fprintf (f, "%ld", i); |
| 2260 |
– |
} |
| 2261 |
– |
else |
| 2262 |
– |
{ |
| 2263 |
– |
unsigned long int i = ulongval (); |
| 2264 |
– |
if (i != ($2)) |
| 2265 |
– |
return 1; |
| 2266 |
– |
fprintf (f, "%lu", i); |
| 2267 |
– |
} |
| 2268 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 2269 |
– |
on some platforms. */ |
| 2270 |
– |
return ferror (f) || fclose (f) != 0; |
| 2271 |
– |
|
| 2272 |
– |
; |
| 2273 |
– |
return 0; |
| 2274 |
– |
} |
| 2275 |
– |
_ACEOF |
| 2276 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 2277 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2278 |
– |
else |
| 2279 |
– |
ac_retval=1 |
| 2280 |
– |
fi |
| 2281 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2282 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2283 |
– |
rm -f conftest.val |
| 2284 |
– |
|
| 2285 |
– |
fi |
| 2286 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2287 |
– |
return $ac_retval |
| 2288 |
– |
|
| 2289 |
– |
} # ac_fn_c_compute_int |
| 2290 |
– |
|
| 1987 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1988 |
|
# ------------------------------------------------------- |
| 1989 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1992 |
|
ac_fn_c_check_header_mongrel () |
| 1993 |
|
{ |
| 1994 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1995 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1995 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1996 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1997 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1998 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1998 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 1999 |
|
$as_echo_n "(cached) " >&6 |
| 2000 |
|
fi |
| 2001 |
|
eval ac_res=\$$3 |
| 2031 |
|
else |
| 2032 |
|
ac_header_preproc=no |
| 2033 |
|
fi |
| 2034 |
< |
rm -f conftest.err conftest.$ac_ext |
| 2034 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 2035 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2036 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 2037 |
|
|
| 2054 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2055 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2056 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2057 |
+ |
( $as_echo "## ----------------------------------- ## |
| 2058 |
+ |
## Report this to bugs@ircd-hybrid.org ## |
| 2059 |
+ |
## ----------------------------------- ##" |
| 2060 |
+ |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2061 |
|
;; |
| 2062 |
|
esac |
| 2063 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2064 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2065 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2065 |
> |
if eval "test \"\${$3+set}\"" = set; then : |
| 2066 |
|
$as_echo_n "(cached) " >&6 |
| 2067 |
|
else |
| 2068 |
|
eval "$3=\$ac_header_compiler" |
| 2078 |
|
This file contains any messages produced by compilers while |
| 2079 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2080 |
|
|
| 2081 |
< |
It was created by ircd-hybrid $as_me 7.2.4, which was |
| 2082 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 2081 |
> |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2082 |
> |
generated by GNU Autoconf 2.67. Invocation command line was |
| 2083 |
|
|
| 2084 |
|
$ $0 $@ |
| 2085 |
|
|
| 2189 |
|
{ |
| 2190 |
|
echo |
| 2191 |
|
|
| 2192 |
< |
cat <<\_ASBOX |
| 2493 |
< |
## ---------------- ## |
| 2192 |
> |
$as_echo "## ---------------- ## |
| 2193 |
|
## Cache variables. ## |
| 2194 |
< |
## ---------------- ## |
| 2496 |
< |
_ASBOX |
| 2194 |
> |
## ---------------- ##" |
| 2195 |
|
echo |
| 2196 |
|
# The following way of writing the cache mishandles newlines in values, |
| 2197 |
|
( |
| 2225 |
|
) |
| 2226 |
|
echo |
| 2227 |
|
|
| 2228 |
< |
cat <<\_ASBOX |
| 2531 |
< |
## ----------------- ## |
| 2228 |
> |
$as_echo "## ----------------- ## |
| 2229 |
|
## Output variables. ## |
| 2230 |
< |
## ----------------- ## |
| 2534 |
< |
_ASBOX |
| 2230 |
> |
## ----------------- ##" |
| 2231 |
|
echo |
| 2232 |
|
for ac_var in $ac_subst_vars |
| 2233 |
|
do |
| 2240 |
|
echo |
| 2241 |
|
|
| 2242 |
|
if test -n "$ac_subst_files"; then |
| 2243 |
< |
cat <<\_ASBOX |
| 2548 |
< |
## ------------------- ## |
| 2243 |
> |
$as_echo "## ------------------- ## |
| 2244 |
|
## File substitutions. ## |
| 2245 |
< |
## ------------------- ## |
| 2551 |
< |
_ASBOX |
| 2245 |
> |
## ------------------- ##" |
| 2246 |
|
echo |
| 2247 |
|
for ac_var in $ac_subst_files |
| 2248 |
|
do |
| 2256 |
|
fi |
| 2257 |
|
|
| 2258 |
|
if test -s confdefs.h; then |
| 2259 |
< |
cat <<\_ASBOX |
| 2566 |
< |
## ----------- ## |
| 2259 |
> |
$as_echo "## ----------- ## |
| 2260 |
|
## confdefs.h. ## |
| 2261 |
< |
## ----------- ## |
| 2569 |
< |
_ASBOX |
| 2261 |
> |
## ----------- ##" |
| 2262 |
|
echo |
| 2263 |
|
cat confdefs.h |
| 2264 |
|
echo |
| 2313 |
|
ac_site_file1=NONE |
| 2314 |
|
ac_site_file2=NONE |
| 2315 |
|
if test -n "$CONFIG_SITE"; then |
| 2316 |
< |
ac_site_file1=$CONFIG_SITE |
| 2316 |
> |
# We do not want a PATH search for config.site. |
| 2317 |
> |
case $CONFIG_SITE in #(( |
| 2318 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2319 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2320 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2321 |
> |
esac |
| 2322 |
|
elif test "x$prefix" != xNONE; then |
| 2323 |
|
ac_site_file1=$prefix/share/config.site |
| 2324 |
|
ac_site_file2=$prefix/etc/config.site |
| 2329 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2330 |
|
do |
| 2331 |
|
test "x$ac_site_file" = xNONE && continue |
| 2332 |
< |
if test -r "$ac_site_file"; then |
| 2332 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2333 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2334 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2335 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2336 |
< |
. "$ac_site_file" |
| 2336 |
> |
. "$ac_site_file" \ |
| 2337 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2338 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2339 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
| 2340 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 2341 |
|
fi |
| 2342 |
|
done |
| 2343 |
|
|
| 2344 |
|
if test -r "$cache_file"; then |
| 2345 |
< |
# Some versions of bash will fail to source /dev/null (special |
| 2346 |
< |
# files actually), so we avoid doing that. |
| 2347 |
< |
if test -f "$cache_file"; then |
| 2345 |
> |
# Some versions of bash will fail to source /dev/null (special files |
| 2346 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2347 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2348 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2349 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2350 |
|
case $cache_file in |
| 2358 |
|
>$cache_file |
| 2359 |
|
fi |
| 2360 |
|
|
| 2660 |
– |
as_fn_append ac_func_list " snprintf" |
| 2661 |
– |
as_fn_append ac_func_list " vsnprintf" |
| 2662 |
– |
as_fn_append ac_func_list " lrand48" |
| 2663 |
– |
as_fn_append ac_func_list " srand48" |
| 2361 |
|
as_fn_append ac_func_list " mmap" |
| 2362 |
|
as_fn_append ac_func_list " strtok_r" |
| 2363 |
|
as_fn_append ac_func_list " usleep" |
| 2364 |
|
as_fn_append ac_func_list " strlcat" |
| 2365 |
|
as_fn_append ac_func_list " strlcpy" |
| 2669 |
– |
as_fn_append ac_func_list " basename" |
| 2366 |
|
as_fn_append ac_header_list " crypt.h" |
| 2367 |
|
as_fn_append ac_header_list " inttypes.h" |
| 2368 |
|
as_fn_append ac_header_list " stdint.h" |
| 2370 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2371 |
|
as_fn_append ac_header_list " errno.h" |
| 2372 |
|
as_fn_append ac_header_list " sys/syslog.h" |
| 2677 |
– |
as_fn_append ac_header_list " stddef.h" |
| 2678 |
– |
as_fn_append ac_header_list " libgen.h" |
| 2373 |
|
as_fn_append ac_header_list " types.h" |
| 2374 |
|
as_fn_append ac_header_list " socket.h" |
| 2375 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2430 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2431 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2432 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2433 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2433 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2434 |
|
fi |
| 2435 |
|
## -------------------- ## |
| 2436 |
|
## Main body of script. ## |
| 2447 |
|
|
| 2448 |
|
ac_aux_dir= |
| 2449 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2450 |
< |
for ac_t in install-sh install.sh shtool; do |
| 2451 |
< |
if test -f "$ac_dir/$ac_t"; then |
| 2452 |
< |
ac_aux_dir=$ac_dir |
| 2453 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2454 |
< |
break 2 |
| 2455 |
< |
fi |
| 2456 |
< |
done |
| 2450 |
> |
if test -f "$ac_dir/install-sh"; then |
| 2451 |
> |
ac_aux_dir=$ac_dir |
| 2452 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2453 |
> |
break |
| 2454 |
> |
elif test -f "$ac_dir/install.sh"; then |
| 2455 |
> |
ac_aux_dir=$ac_dir |
| 2456 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2457 |
> |
break |
| 2458 |
> |
elif test -f "$ac_dir/shtool"; then |
| 2459 |
> |
ac_aux_dir=$ac_dir |
| 2460 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2461 |
> |
break |
| 2462 |
> |
fi |
| 2463 |
|
done |
| 2464 |
|
if test -z "$ac_aux_dir"; then |
| 2465 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2465 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2466 |
|
fi |
| 2467 |
|
|
| 2468 |
|
# These three variables are undocumented and unsupported, |
| 2578 |
|
' |
| 2579 |
|
case `pwd` in |
| 2580 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
| 2581 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
| 2581 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 2582 |
|
esac |
| 2583 |
|
case $srcdir in |
| 2584 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2585 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2585 |
> |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2586 |
|
esac |
| 2587 |
|
|
| 2588 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
| 2604 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2605 |
|
# broken ls alias from the environment. This has actually |
| 2606 |
|
# happened. Such a system could not be considered "sane". |
| 2607 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
| 2607 |
> |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2608 |
|
alias in your environment" "$LINENO" 5 |
| 2609 |
|
fi |
| 2610 |
|
|
| 2614 |
|
# Ok. |
| 2615 |
|
: |
| 2616 |
|
else |
| 2617 |
< |
as_fn_error "newly created file is older than distributed files! |
| 2617 |
> |
as_fn_error $? "newly created file is older than distributed files! |
| 2618 |
|
Check your system clock" "$LINENO" 5 |
| 2619 |
|
fi |
| 2620 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2786 |
|
|
| 2787 |
|
fi |
| 2788 |
|
|
| 2789 |
+ |
test -d ./--version && rmdir ./--version |
| 2790 |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2791 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2792 |
|
else |
| 2794 |
|
# value for MKDIR_P within a source directory, because that will |
| 2795 |
|
# break other packages using the cache if that directory is |
| 2796 |
|
# removed, or if the value is a relative name. |
| 3096 |
– |
test -d ./--version && rmdir ./--version |
| 2797 |
|
MKDIR_P="$ac_install_sh -d" |
| 2798 |
|
fi |
| 2799 |
|
fi |
| 2852 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2853 |
|
set x ${MAKE-make} |
| 2854 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2855 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2855 |
> |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
| 2856 |
|
$as_echo_n "(cached) " >&6 |
| 2857 |
|
else |
| 2858 |
|
cat >conftest.make <<\_ACEOF |
| 2860 |
|
all: |
| 2861 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2862 |
|
_ACEOF |
| 2863 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 2863 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2864 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2865 |
|
*@@@%%%=?*=@@@%%%*) |
| 2866 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2894 |
|
am__isrc=' -I$(srcdir)' |
| 2895 |
|
# test to see if srcdir already configured |
| 2896 |
|
if test -f $srcdir/config.status; then |
| 2897 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2897 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2898 |
|
fi |
| 2899 |
|
fi |
| 2900 |
|
|
| 2910 |
|
|
| 2911 |
|
# Define the identity of the package. |
| 2912 |
|
PACKAGE='ircd-hybrid' |
| 2913 |
< |
VERSION='7.2.4' |
| 2913 |
> |
VERSION='7.3-rc1' |
| 2914 |
|
|
| 2915 |
|
|
| 2916 |
|
cat >>confdefs.h <<_ACEOF |
| 2977 |
|
|
| 2978 |
|
|
| 2979 |
|
|
| 3280 |
– |
|
| 2980 |
|
# Checks for programs. |
| 2981 |
+ |
DEPDIR="${am__leading_dot}deps" |
| 2982 |
+ |
|
| 2983 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
| 2984 |
+ |
|
| 2985 |
+ |
|
| 2986 |
+ |
am_make=${MAKE-make} |
| 2987 |
+ |
cat > confinc << 'END' |
| 2988 |
+ |
am__doit: |
| 2989 |
+ |
@echo this is the am__doit target |
| 2990 |
+ |
.PHONY: am__doit |
| 2991 |
+ |
END |
| 2992 |
+ |
# If we don't find an include directive, just comment out the code. |
| 2993 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 2994 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 2995 |
+ |
am__include="#" |
| 2996 |
+ |
am__quote= |
| 2997 |
+ |
_am_result=none |
| 2998 |
+ |
# First try GNU make style include. |
| 2999 |
+ |
echo "include confinc" > confmf |
| 3000 |
+ |
# Ignore all kinds of additional output from `make'. |
| 3001 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3002 |
+ |
*the\ am__doit\ target*) |
| 3003 |
+ |
am__include=include |
| 3004 |
+ |
am__quote= |
| 3005 |
+ |
_am_result=GNU |
| 3006 |
+ |
;; |
| 3007 |
+ |
esac |
| 3008 |
+ |
# Now try BSD make style include. |
| 3009 |
+ |
if test "$am__include" = "#"; then |
| 3010 |
+ |
echo '.include "confinc"' > confmf |
| 3011 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3012 |
+ |
*the\ am__doit\ target*) |
| 3013 |
+ |
am__include=.include |
| 3014 |
+ |
am__quote="\"" |
| 3015 |
+ |
_am_result=BSD |
| 3016 |
+ |
;; |
| 3017 |
+ |
esac |
| 3018 |
+ |
fi |
| 3019 |
+ |
|
| 3020 |
+ |
|
| 3021 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3022 |
+ |
$as_echo "$_am_result" >&6; } |
| 3023 |
+ |
rm -f confinc confmf |
| 3024 |
+ |
|
| 3025 |
+ |
# Check whether --enable-dependency-tracking was given. |
| 3026 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
| 3027 |
+ |
enableval=$enable_dependency_tracking; |
| 3028 |
+ |
fi |
| 3029 |
+ |
|
| 3030 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3031 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
| 3032 |
+ |
AMDEPBACKSLASH='\' |
| 3033 |
+ |
fi |
| 3034 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3035 |
+ |
AMDEP_TRUE= |
| 3036 |
+ |
AMDEP_FALSE='#' |
| 3037 |
+ |
else |
| 3038 |
+ |
AMDEP_TRUE='#' |
| 3039 |
+ |
AMDEP_FALSE= |
| 3040 |
+ |
fi |
| 3041 |
+ |
|
| 3042 |
+ |
|
| 3043 |
|
ac_ext=c |
| 3044 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 3045 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3340 |
|
|
| 3341 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3342 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3343 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
| 3344 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3343 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3344 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3345 |
|
|
| 3346 |
|
# Provide some information about the compiler. |
| 3347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3362 |
|
... rest of stderr output deleted ... |
| 3363 |
|
10q' conftest.err >conftest.er1 |
| 3364 |
|
cat conftest.er1 >&5 |
| 3604 |
– |
rm -f conftest.er1 conftest.err |
| 3365 |
|
fi |
| 3366 |
+ |
rm -f conftest.er1 conftest.err |
| 3367 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3368 |
|
test $ac_status = 0; } |
| 3369 |
|
done |
| 3370 |
|
|
| 3371 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3372 |
|
/* end confdefs.h. */ |
| 3373 |
< |
#include <stdio.h> |
| 3373 |
> |
|
| 3374 |
|
int |
| 3375 |
|
main () |
| 3376 |
|
{ |
| 3616 |
– |
FILE *f = fopen ("conftest.out", "w"); |
| 3617 |
– |
return ferror (f) || fclose (f) != 0; |
| 3377 |
|
|
| 3378 |
|
; |
| 3379 |
|
return 0; |
| 3380 |
|
} |
| 3381 |
|
_ACEOF |
| 3382 |
|
ac_clean_files_save=$ac_clean_files |
| 3383 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
| 3383 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 3384 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3385 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3386 |
|
# of exeext. |
| 3387 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3388 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3387 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3388 |
> |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3389 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3390 |
|
|
| 3391 |
|
# The possible output files: |
| 3447 |
|
else |
| 3448 |
|
ac_file='' |
| 3449 |
|
fi |
| 3691 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3692 |
– |
$as_echo "$ac_file" >&6; } |
| 3450 |
|
if test -z "$ac_file"; then : |
| 3451 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3451 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3452 |
> |
$as_echo "no" >&6; } |
| 3453 |
> |
$as_echo "$as_me: failed program was:" >&5 |
| 3454 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3455 |
|
|
| 3456 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3457 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3458 |
< |
{ as_fn_set_status 77 |
| 3459 |
< |
as_fn_error "C compiler cannot create executables |
| 3460 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3458 |
> |
as_fn_error 77 "C compiler cannot create executables |
| 3459 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3460 |
> |
else |
| 3461 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3462 |
> |
$as_echo "yes" >&6; } |
| 3463 |
|
fi |
| 3464 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3465 |
+ |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3466 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3467 |
+ |
$as_echo "$ac_file" >&6; } |
| 3468 |
|
ac_exeext=$ac_cv_exeext |
| 3469 |
|
|
| 3470 |
< |
# Check that the compiler produces executables we can run. If not, either |
| 3706 |
< |
# the compiler is broken, or we cross compile. |
| 3707 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3708 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3709 |
< |
# If not cross compiling, check that we can run a simple program. |
| 3710 |
< |
if test "$cross_compiling" != yes; then |
| 3711 |
< |
if { ac_try='./$ac_file' |
| 3712 |
< |
{ { case "(($ac_try" in |
| 3713 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3714 |
< |
*) ac_try_echo=$ac_try;; |
| 3715 |
< |
esac |
| 3716 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3717 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3718 |
< |
(eval "$ac_try") 2>&5 |
| 3719 |
< |
ac_status=$? |
| 3720 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3721 |
< |
test $ac_status = 0; }; }; then |
| 3722 |
< |
cross_compiling=no |
| 3723 |
< |
else |
| 3724 |
< |
if test "$cross_compiling" = maybe; then |
| 3725 |
< |
cross_compiling=yes |
| 3726 |
< |
else |
| 3727 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3728 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3729 |
< |
as_fn_error "cannot run C compiled programs. |
| 3730 |
< |
If you meant to cross compile, use \`--host'. |
| 3731 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3732 |
< |
fi |
| 3733 |
< |
fi |
| 3734 |
< |
fi |
| 3735 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3736 |
< |
$as_echo "yes" >&6; } |
| 3737 |
< |
|
| 3738 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
| 3470 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3471 |
|
ac_clean_files=$ac_clean_files_save |
| 3740 |
– |
# Check that the compiler produces executables we can run. If not, either |
| 3741 |
– |
# the compiler is broken, or we cross compile. |
| 3742 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3743 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3744 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3745 |
– |
$as_echo "$cross_compiling" >&6; } |
| 3746 |
– |
|
| 3472 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3473 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3474 |
|
if { { ac_try="$ac_link" |
| 3498 |
|
else |
| 3499 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3500 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3501 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3502 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3501 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3502 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3503 |
|
fi |
| 3504 |
< |
rm -f conftest$ac_cv_exeext |
| 3504 |
> |
rm -f conftest conftest$ac_cv_exeext |
| 3505 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3506 |
|
$as_echo "$ac_cv_exeext" >&6; } |
| 3507 |
|
|
| 3508 |
|
rm -f conftest.$ac_ext |
| 3509 |
|
EXEEXT=$ac_cv_exeext |
| 3510 |
|
ac_exeext=$EXEEXT |
| 3511 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3512 |
+ |
/* end confdefs.h. */ |
| 3513 |
+ |
#include <stdio.h> |
| 3514 |
+ |
int |
| 3515 |
+ |
main () |
| 3516 |
+ |
{ |
| 3517 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
| 3518 |
+ |
return ferror (f) || fclose (f) != 0; |
| 3519 |
+ |
|
| 3520 |
+ |
; |
| 3521 |
+ |
return 0; |
| 3522 |
+ |
} |
| 3523 |
+ |
_ACEOF |
| 3524 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
| 3525 |
+ |
# Check that the compiler produces executables we can run. If not, either |
| 3526 |
+ |
# the compiler is broken, or we cross compile. |
| 3527 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3528 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3529 |
+ |
if test "$cross_compiling" != yes; then |
| 3530 |
+ |
{ { ac_try="$ac_link" |
| 3531 |
+ |
case "(($ac_try" in |
| 3532 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3533 |
+ |
*) ac_try_echo=$ac_try;; |
| 3534 |
+ |
esac |
| 3535 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3536 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3537 |
+ |
(eval "$ac_link") 2>&5 |
| 3538 |
+ |
ac_status=$? |
| 3539 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3540 |
+ |
test $ac_status = 0; } |
| 3541 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
| 3542 |
+ |
{ { case "(($ac_try" in |
| 3543 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3544 |
+ |
*) ac_try_echo=$ac_try;; |
| 3545 |
+ |
esac |
| 3546 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3547 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3548 |
+ |
(eval "$ac_try") 2>&5 |
| 3549 |
+ |
ac_status=$? |
| 3550 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3551 |
+ |
test $ac_status = 0; }; }; then |
| 3552 |
+ |
cross_compiling=no |
| 3553 |
+ |
else |
| 3554 |
+ |
if test "$cross_compiling" = maybe; then |
| 3555 |
+ |
cross_compiling=yes |
| 3556 |
+ |
else |
| 3557 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3558 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3559 |
+ |
as_fn_error $? "cannot run C compiled programs. |
| 3560 |
+ |
If you meant to cross compile, use \`--host'. |
| 3561 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 3562 |
+ |
fi |
| 3563 |
+ |
fi |
| 3564 |
+ |
fi |
| 3565 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3566 |
+ |
$as_echo "$cross_compiling" >&6; } |
| 3567 |
+ |
|
| 3568 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3569 |
+ |
ac_clean_files=$ac_clean_files_save |
| 3570 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3571 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3572 |
|
if test "${ac_cv_objext+set}" = set; then : |
| 3609 |
|
|
| 3610 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3611 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3612 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
| 3613 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3612 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3613 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3614 |
|
fi |
| 3615 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3616 |
|
fi |
| 3829 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3830 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3831 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4048 |
– |
DEPDIR="${am__leading_dot}deps" |
| 4049 |
– |
|
| 4050 |
– |
ac_config_commands="$ac_config_commands depfiles" |
| 4051 |
– |
|
| 4052 |
– |
|
| 4053 |
– |
am_make=${MAKE-make} |
| 4054 |
– |
cat > confinc << 'END' |
| 4055 |
– |
am__doit: |
| 4056 |
– |
@echo this is the am__doit target |
| 4057 |
– |
.PHONY: am__doit |
| 4058 |
– |
END |
| 4059 |
– |
# If we don't find an include directive, just comment out the code. |
| 4060 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 4061 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 4062 |
– |
am__include="#" |
| 4063 |
– |
am__quote= |
| 4064 |
– |
_am_result=none |
| 4065 |
– |
# First try GNU make style include. |
| 4066 |
– |
echo "include confinc" > confmf |
| 4067 |
– |
# Ignore all kinds of additional output from `make'. |
| 4068 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4069 |
– |
*the\ am__doit\ target*) |
| 4070 |
– |
am__include=include |
| 4071 |
– |
am__quote= |
| 4072 |
– |
_am_result=GNU |
| 4073 |
– |
;; |
| 4074 |
– |
esac |
| 4075 |
– |
# Now try BSD make style include. |
| 4076 |
– |
if test "$am__include" = "#"; then |
| 4077 |
– |
echo '.include "confinc"' > confmf |
| 4078 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4079 |
– |
*the\ am__doit\ target*) |
| 4080 |
– |
am__include=.include |
| 4081 |
– |
am__quote="\"" |
| 4082 |
– |
_am_result=BSD |
| 4083 |
– |
;; |
| 4084 |
– |
esac |
| 4085 |
– |
fi |
| 4086 |
– |
|
| 4087 |
– |
|
| 4088 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 4089 |
– |
$as_echo "$_am_result" >&6; } |
| 4090 |
– |
rm -f confinc confmf |
| 4091 |
– |
|
| 4092 |
– |
# Check whether --enable-dependency-tracking was given. |
| 4093 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
| 4094 |
– |
enableval=$enable_dependency_tracking; |
| 4095 |
– |
fi |
| 4096 |
– |
|
| 4097 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 4098 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
| 4099 |
– |
AMDEPBACKSLASH='\' |
| 4100 |
– |
fi |
| 4101 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 4102 |
– |
AMDEP_TRUE= |
| 4103 |
– |
AMDEP_FALSE='#' |
| 4104 |
– |
else |
| 4105 |
– |
AMDEP_TRUE='#' |
| 4106 |
– |
AMDEP_FALSE= |
| 4107 |
– |
fi |
| 4108 |
– |
|
| 4109 |
– |
|
| 3832 |
|
|
| 3833 |
|
depcc="$CC" am_compiler_list= |
| 3834 |
|
|
| 3957 |
|
fi |
| 3958 |
|
|
| 3959 |
|
|
| 3960 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 3961 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 3962 |
+ |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 3963 |
+ |
$as_echo_n "(cached) " >&6 |
| 3964 |
+ |
else |
| 3965 |
+ |
ac_cv_prog_cc_c99=no |
| 3966 |
+ |
ac_save_CC=$CC |
| 3967 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3968 |
+ |
/* end confdefs.h. */ |
| 3969 |
+ |
#include <stdarg.h> |
| 3970 |
+ |
#include <stdbool.h> |
| 3971 |
+ |
#include <stdlib.h> |
| 3972 |
+ |
#include <wchar.h> |
| 3973 |
+ |
#include <stdio.h> |
| 3974 |
+ |
|
| 3975 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 3976 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 3977 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
| 3978 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 3979 |
+ |
static void |
| 3980 |
+ |
test_varargs_macros (void) |
| 3981 |
+ |
{ |
| 3982 |
+ |
int x = 1234; |
| 3983 |
+ |
int y = 5678; |
| 3984 |
+ |
debug ("Flag"); |
| 3985 |
+ |
debug ("X = %d\n", x); |
| 3986 |
+ |
showlist (The first, second, and third items.); |
| 3987 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
| 3988 |
+ |
} |
| 3989 |
+ |
|
| 3990 |
+ |
// Check long long types. |
| 3991 |
+ |
#define BIG64 18446744073709551615ull |
| 3992 |
+ |
#define BIG32 4294967295ul |
| 3993 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 3994 |
+ |
#if !BIG_OK |
| 3995 |
+ |
your preprocessor is broken; |
| 3996 |
+ |
#endif |
| 3997 |
+ |
#if BIG_OK |
| 3998 |
+ |
#else |
| 3999 |
+ |
your preprocessor is broken; |
| 4000 |
+ |
#endif |
| 4001 |
+ |
static long long int bignum = -9223372036854775807LL; |
| 4002 |
+ |
static unsigned long long int ubignum = BIG64; |
| 4003 |
+ |
|
| 4004 |
+ |
struct incomplete_array |
| 4005 |
+ |
{ |
| 4006 |
+ |
int datasize; |
| 4007 |
+ |
double data[]; |
| 4008 |
+ |
}; |
| 4009 |
+ |
|
| 4010 |
+ |
struct named_init { |
| 4011 |
+ |
int number; |
| 4012 |
+ |
const wchar_t *name; |
| 4013 |
+ |
double average; |
| 4014 |
+ |
}; |
| 4015 |
+ |
|
| 4016 |
+ |
typedef const char *ccp; |
| 4017 |
+ |
|
| 4018 |
+ |
static inline int |
| 4019 |
+ |
test_restrict (ccp restrict text) |
| 4020 |
+ |
{ |
| 4021 |
+ |
// See if C++-style comments work. |
| 4022 |
+ |
// Iterate through items via the restricted pointer. |
| 4023 |
+ |
// Also check for declarations in for loops. |
| 4024 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4025 |
+ |
continue; |
| 4026 |
+ |
return 0; |
| 4027 |
+ |
} |
| 4028 |
+ |
|
| 4029 |
+ |
// Check varargs and va_copy. |
| 4030 |
+ |
static void |
| 4031 |
+ |
test_varargs (const char *format, ...) |
| 4032 |
+ |
{ |
| 4033 |
+ |
va_list args; |
| 4034 |
+ |
va_start (args, format); |
| 4035 |
+ |
va_list args_copy; |
| 4036 |
+ |
va_copy (args_copy, args); |
| 4037 |
+ |
|
| 4038 |
+ |
const char *str; |
| 4039 |
+ |
int number; |
| 4040 |
+ |
float fnumber; |
| 4041 |
+ |
|
| 4042 |
+ |
while (*format) |
| 4043 |
+ |
{ |
| 4044 |
+ |
switch (*format++) |
| 4045 |
+ |
{ |
| 4046 |
+ |
case 's': // string |
| 4047 |
+ |
str = va_arg (args_copy, const char *); |
| 4048 |
+ |
break; |
| 4049 |
+ |
case 'd': // int |
| 4050 |
+ |
number = va_arg (args_copy, int); |
| 4051 |
+ |
break; |
| 4052 |
+ |
case 'f': // float |
| 4053 |
+ |
fnumber = va_arg (args_copy, double); |
| 4054 |
+ |
break; |
| 4055 |
+ |
default: |
| 4056 |
+ |
break; |
| 4057 |
+ |
} |
| 4058 |
+ |
} |
| 4059 |
+ |
va_end (args_copy); |
| 4060 |
+ |
va_end (args); |
| 4061 |
+ |
} |
| 4062 |
+ |
|
| 4063 |
+ |
int |
| 4064 |
+ |
main () |
| 4065 |
+ |
{ |
| 4066 |
+ |
|
| 4067 |
+ |
// Check bool. |
| 4068 |
+ |
_Bool success = false; |
| 4069 |
+ |
|
| 4070 |
+ |
// Check restrict. |
| 4071 |
+ |
if (test_restrict ("String literal") == 0) |
| 4072 |
+ |
success = true; |
| 4073 |
+ |
char *restrict newvar = "Another string"; |
| 4074 |
+ |
|
| 4075 |
+ |
// Check varargs. |
| 4076 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4077 |
+ |
test_varargs_macros (); |
| 4078 |
+ |
|
| 4079 |
+ |
// Check flexible array members. |
| 4080 |
+ |
struct incomplete_array *ia = |
| 4081 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4082 |
+ |
ia->datasize = 10; |
| 4083 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
| 4084 |
+ |
ia->data[i] = i * 1.234; |
| 4085 |
+ |
|
| 4086 |
+ |
// Check named initializers. |
| 4087 |
+ |
struct named_init ni = { |
| 4088 |
+ |
.number = 34, |
| 4089 |
+ |
.name = L"Test wide string", |
| 4090 |
+ |
.average = 543.34343, |
| 4091 |
+ |
}; |
| 4092 |
+ |
|
| 4093 |
+ |
ni.number = 58; |
| 4094 |
+ |
|
| 4095 |
+ |
int dynamic_array[ni.number]; |
| 4096 |
+ |
dynamic_array[ni.number - 1] = 543; |
| 4097 |
+ |
|
| 4098 |
+ |
// work around unused variable warnings |
| 4099 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4100 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
| 4101 |
+ |
|
| 4102 |
+ |
; |
| 4103 |
+ |
return 0; |
| 4104 |
+ |
} |
| 4105 |
+ |
_ACEOF |
| 4106 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4107 |
+ |
do |
| 4108 |
+ |
CC="$ac_save_CC $ac_arg" |
| 4109 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4110 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
| 4111 |
+ |
fi |
| 4112 |
+ |
rm -f core conftest.err conftest.$ac_objext |
| 4113 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4114 |
+ |
done |
| 4115 |
+ |
rm -f conftest.$ac_ext |
| 4116 |
+ |
CC=$ac_save_CC |
| 4117 |
+ |
|
| 4118 |
+ |
fi |
| 4119 |
+ |
# AC_CACHE_VAL |
| 4120 |
+ |
case "x$ac_cv_prog_cc_c99" in |
| 4121 |
+ |
x) |
| 4122 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4123 |
+ |
$as_echo "none needed" >&6; } ;; |
| 4124 |
+ |
xno) |
| 4125 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4126 |
+ |
$as_echo "unsupported" >&6; } ;; |
| 4127 |
+ |
*) |
| 4128 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
| 4129 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4130 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4131 |
+ |
esac |
| 4132 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 4133 |
+ |
|
| 4134 |
+ |
fi |
| 4135 |
+ |
|
| 4136 |
+ |
|
| 4137 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4138 |
+ |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4139 |
+ |
fi |
| 4140 |
|
for ac_prog in 'bison -y' byacc |
| 4141 |
|
do |
| 4142 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4266 |
|
elif test -f lexyy.c; then |
| 4267 |
|
ac_cv_prog_lex_root=lexyy |
| 4268 |
|
else |
| 4269 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4269 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4270 |
|
fi |
| 4271 |
|
fi |
| 4272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 4343 |
|
fi |
| 4344 |
|
|
| 4345 |
|
|
| 4346 |
+ |
# Initializing libtool. |
| 4347 |
+ |
|
| 4348 |
+ |
|
| 4349 |
+ |
|
| 4350 |
+ |
|
| 4351 |
+ |
|
| 4352 |
+ |
|
| 4353 |
|
|
| 4445 |
– |
#ltdl stuff |
| 4354 |
|
case `pwd` in |
| 4355 |
|
*\ * | *\ *) |
| 4356 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4359 |
|
|
| 4360 |
|
|
| 4361 |
|
|
| 4362 |
< |
macro_version='2.2.6' |
| 4363 |
< |
macro_revision='1.3012' |
| 4362 |
> |
macro_version='2.2.10' |
| 4363 |
> |
macro_revision='1.3175' |
| 4364 |
|
|
| 4365 |
|
|
| 4366 |
|
|
| 4378 |
|
|
| 4379 |
|
# Make sure we can run config.sub. |
| 4380 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 4381 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4381 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4382 |
|
|
| 4383 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4384 |
|
$as_echo_n "checking build system type... " >&6; } |
| 4389 |
|
test "x$ac_build_alias" = x && |
| 4390 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 4391 |
|
test "x$ac_build_alias" = x && |
| 4392 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4392 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4393 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 4394 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4394 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4395 |
|
|
| 4396 |
|
fi |
| 4397 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4398 |
|
$as_echo "$ac_cv_build" >&6; } |
| 4399 |
|
case $ac_cv_build in |
| 4400 |
|
*-*-*) ;; |
| 4401 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 4401 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 4402 |
|
esac |
| 4403 |
|
build=$ac_cv_build |
| 4404 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4423 |
|
ac_cv_host=$ac_cv_build |
| 4424 |
|
else |
| 4425 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 4426 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4426 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4427 |
|
fi |
| 4428 |
|
|
| 4429 |
|
fi |
| 4431 |
|
$as_echo "$ac_cv_host" >&6; } |
| 4432 |
|
case $ac_cv_host in |
| 4433 |
|
*-*-*) ;; |
| 4434 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 4434 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 4435 |
|
esac |
| 4436 |
|
host=$ac_cv_host |
| 4437 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4447 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 4448 |
|
|
| 4449 |
|
|
| 4450 |
+ |
# Backslashify metacharacters that are still active within |
| 4451 |
+ |
# double-quoted strings. |
| 4452 |
+ |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 4453 |
+ |
|
| 4454 |
+ |
# Same as above, but do not quote variable references. |
| 4455 |
+ |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 4456 |
+ |
|
| 4457 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
| 4458 |
+ |
# double_quote_subst'ed string. |
| 4459 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 4460 |
+ |
|
| 4461 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
| 4462 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 4463 |
+ |
|
| 4464 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
| 4465 |
+ |
no_glob_subst='s/\*/\\\*/g' |
| 4466 |
+ |
|
| 4467 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 4468 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 4469 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 4470 |
+ |
|
| 4471 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4472 |
+ |
$as_echo_n "checking how to print strings... " >&6; } |
| 4473 |
+ |
# Test print first, because it will be a builtin if present. |
| 4474 |
+ |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 4475 |
+ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4476 |
+ |
ECHO='print -r --' |
| 4477 |
+ |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4478 |
+ |
ECHO='printf %s\n' |
| 4479 |
+ |
else |
| 4480 |
+ |
# Use this function as a fallback that always works. |
| 4481 |
+ |
func_fallback_echo () |
| 4482 |
+ |
{ |
| 4483 |
+ |
eval 'cat <<_LTECHO_EOF |
| 4484 |
+ |
$1 |
| 4485 |
+ |
_LTECHO_EOF' |
| 4486 |
+ |
} |
| 4487 |
+ |
ECHO='func_fallback_echo' |
| 4488 |
+ |
fi |
| 4489 |
+ |
|
| 4490 |
+ |
# func_echo_all arg... |
| 4491 |
+ |
# Invoke $ECHO with all args, space-separated. |
| 4492 |
+ |
func_echo_all () |
| 4493 |
+ |
{ |
| 4494 |
+ |
$ECHO "" |
| 4495 |
+ |
} |
| 4496 |
+ |
|
| 4497 |
+ |
case "$ECHO" in |
| 4498 |
+ |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 4499 |
+ |
$as_echo "printf" >&6; } ;; |
| 4500 |
+ |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 4501 |
+ |
$as_echo "print -r" >&6; } ;; |
| 4502 |
+ |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 4503 |
+ |
$as_echo "cat" >&6; } ;; |
| 4504 |
+ |
esac |
| 4505 |
+ |
|
| 4506 |
+ |
|
| 4507 |
+ |
|
| 4508 |
+ |
|
| 4509 |
+ |
|
| 4510 |
+ |
|
| 4511 |
+ |
|
| 4512 |
+ |
|
| 4513 |
+ |
|
| 4514 |
+ |
|
| 4515 |
+ |
|
| 4516 |
+ |
|
| 4517 |
+ |
|
| 4518 |
+ |
|
| 4519 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4520 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4521 |
|
if test "${ac_cv_path_SED+set}" = set; then : |
| 4573 |
|
done |
| 4574 |
|
IFS=$as_save_IFS |
| 4575 |
|
if test -z "$ac_cv_path_SED"; then |
| 4576 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 4576 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 4577 |
|
fi |
| 4578 |
|
else |
| 4579 |
|
ac_cv_path_SED=$SED |
| 4649 |
|
done |
| 4650 |
|
IFS=$as_save_IFS |
| 4651 |
|
if test -z "$ac_cv_path_GREP"; then |
| 4652 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4652 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4653 |
|
fi |
| 4654 |
|
else |
| 4655 |
|
ac_cv_path_GREP=$GREP |
| 4715 |
|
done |
| 4716 |
|
IFS=$as_save_IFS |
| 4717 |
|
if test -z "$ac_cv_path_EGREP"; then |
| 4718 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4718 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4719 |
|
fi |
| 4720 |
|
else |
| 4721 |
|
ac_cv_path_EGREP=$EGREP |
| 4782 |
|
done |
| 4783 |
|
IFS=$as_save_IFS |
| 4784 |
|
if test -z "$ac_cv_path_FGREP"; then |
| 4785 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4785 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4786 |
|
fi |
| 4787 |
|
else |
| 4788 |
|
ac_cv_path_FGREP=$FGREP |
| 4898 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4899 |
|
$as_echo "no" >&6; } |
| 4900 |
|
fi |
| 4901 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4901 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4902 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 4903 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 4904 |
|
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
| 4981 |
|
NM="$lt_cv_path_NM" |
| 4982 |
|
else |
| 4983 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
| 4984 |
< |
if test -n "$ac_tool_prefix"; then |
| 4985 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
| 4984 |
> |
if test -n "$DUMPBIN"; then : |
| 4985 |
> |
# Let the user override the test. |
| 4986 |
> |
else |
| 4987 |
> |
if test -n "$ac_tool_prefix"; then |
| 4988 |
> |
for ac_prog in dumpbin "link -dump" |
| 4989 |
|
do |
| 4990 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 4991 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5029 |
|
fi |
| 5030 |
|
if test -z "$DUMPBIN"; then |
| 5031 |
|
ac_ct_DUMPBIN=$DUMPBIN |
| 5032 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
| 5032 |
> |
for ac_prog in dumpbin "link -dump" |
| 5033 |
|
do |
| 5034 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5035 |
|
set dummy $ac_prog; ac_word=$2 |
| 5084 |
|
fi |
| 5085 |
|
fi |
| 5086 |
|
|
| 5087 |
+ |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
| 5088 |
+ |
*COFF*) |
| 5089 |
+ |
DUMPBIN="$DUMPBIN -symbols" |
| 5090 |
+ |
;; |
| 5091 |
+ |
*) |
| 5092 |
+ |
DUMPBIN=: |
| 5093 |
+ |
;; |
| 5094 |
+ |
esac |
| 5095 |
+ |
fi |
| 5096 |
|
|
| 5097 |
|
if test "$DUMPBIN" != ":"; then |
| 5098 |
|
NM="$DUMPBIN" |
| 5112 |
|
else |
| 5113 |
|
lt_cv_nm_interface="BSD nm" |
| 5114 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5115 |
< |
(eval echo "\"\$as_me:5126: $ac_compile\"" >&5) |
| 5115 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 5116 |
|
(eval "$ac_compile" 2>conftest.err) |
| 5117 |
|
cat conftest.err >&5 |
| 5118 |
< |
(eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5118 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5119 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 5120 |
|
cat conftest.err >&5 |
| 5121 |
< |
(eval echo "\"\$as_me:5132: output\"" >&5) |
| 5121 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 5122 |
|
cat conftest.out >&5 |
| 5123 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 5124 |
|
lt_cv_nm_interface="MS dumpbin" |
| 5175 |
|
lt_cv_sys_max_cmd_len=8192; |
| 5176 |
|
;; |
| 5177 |
|
|
| 5178 |
+ |
mint*) |
| 5179 |
+ |
# On MiNT this can take a long time and run out of memory. |
| 5180 |
+ |
lt_cv_sys_max_cmd_len=8192; |
| 5181 |
+ |
;; |
| 5182 |
+ |
|
| 5183 |
|
amigaos*) |
| 5184 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
| 5185 |
|
# So we just punt and use a minimum line length of 8192. |
| 5244 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5245 |
|
# maximum length that is only half of the actual maximum length, but |
| 5246 |
|
# we can't tell. |
| 5247 |
< |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
| 5248 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
| 5247 |
> |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 5248 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5249 |
|
test $i != 17 # 1/2 MB should be enough |
| 5250 |
|
do |
| 5251 |
|
i=`expr $i + 1` |
| 5516 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
| 5517 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 5518 |
|
# unless we find 'file', for example because we are cross-compiling. |
| 5519 |
< |
if ( file / ) >/dev/null 2>&1; then |
| 5519 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 5520 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 5521 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 5522 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
| 5523 |
|
else |
| 5524 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
| 5524 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
| 5525 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
| 5526 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 5527 |
|
fi |
| 5528 |
|
;; |
| 5529 |
|
|
| 5530 |
< |
cegcc) |
| 5530 |
> |
cegcc*) |
| 5531 |
|
# use the weaker test based on 'objdump'. See mingw*. |
| 5532 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 5533 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 5557 |
|
lt_cv_deplibs_check_method=pass_all |
| 5558 |
|
;; |
| 5559 |
|
|
| 5560 |
+ |
haiku*) |
| 5561 |
+ |
lt_cv_deplibs_check_method=pass_all |
| 5562 |
+ |
;; |
| 5563 |
+ |
|
| 5564 |
|
hpux10.20* | hpux11*) |
| 5565 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
| 5566 |
|
case $host_cpu in |
| 5569 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 5570 |
|
;; |
| 5571 |
|
hppa*64*) |
| 5572 |
< |
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]' |
| 5572 |
> |
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]' |
| 5573 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
| 5574 |
|
;; |
| 5575 |
|
*) |
| 5576 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
| 5576 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 5577 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
| 5578 |
|
;; |
| 5579 |
|
esac |
| 5595 |
|
;; |
| 5596 |
|
|
| 5597 |
|
# This must be Linux ELF. |
| 5598 |
< |
linux* | k*bsd*-gnu) |
| 5598 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 5599 |
|
lt_cv_deplibs_check_method=pass_all |
| 5600 |
|
;; |
| 5601 |
|
|
| 6011 |
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6012 |
|
fi |
| 6013 |
|
|
| 6014 |
+ |
case $host_os in |
| 6015 |
+ |
darwin*) |
| 6016 |
+ |
lock_old_archive_extraction=yes ;; |
| 6017 |
+ |
*) |
| 6018 |
+ |
lock_old_archive_extraction=no ;; |
| 6019 |
+ |
esac |
| 6020 |
+ |
|
| 6021 |
+ |
|
| 6022 |
+ |
|
| 6023 |
+ |
|
| 6024 |
+ |
|
| 6025 |
+ |
|
| 6026 |
|
|
| 6027 |
|
|
| 6028 |
|
|
| 6192 |
|
test $ac_status = 0; }; then |
| 6193 |
|
# Now try to grab the symbols. |
| 6194 |
|
nlist=conftest.nm |
| 6195 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
| 6196 |
< |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
| 6195 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 6196 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 6197 |
|
ac_status=$? |
| 6198 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6199 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
| 6346 |
|
;; |
| 6347 |
|
*-*-irix6*) |
| 6348 |
|
# Find out which ABI we are using. |
| 6349 |
< |
echo '#line 6337 "configure"' > conftest.$ac_ext |
| 6349 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 6350 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6351 |
|
(eval $ac_compile) 2>&5 |
| 6352 |
|
ac_status=$? |
| 7058 |
|
fi |
| 7059 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7060 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7061 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7062 |
+ |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7063 |
+ |
if test "${lt_cv_ld_force_load+set}" = set; then : |
| 7064 |
+ |
$as_echo_n "(cached) " >&6 |
| 7065 |
+ |
else |
| 7066 |
+ |
lt_cv_ld_force_load=no |
| 7067 |
+ |
cat > conftest.c << _LT_EOF |
| 7068 |
+ |
int forced_loaded() { return 2;} |
| 7069 |
+ |
_LT_EOF |
| 7070 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 7071 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 7072 |
+ |
echo "$AR cru libconftest.a conftest.o" >&5 |
| 7073 |
+ |
$AR cru libconftest.a conftest.o 2>&5 |
| 7074 |
+ |
echo "$RANLIB libconftest.a" >&5 |
| 7075 |
+ |
$RANLIB libconftest.a 2>&5 |
| 7076 |
+ |
cat > conftest.c << _LT_EOF |
| 7077 |
+ |
int main() { return 0;} |
| 7078 |
+ |
_LT_EOF |
| 7079 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 7080 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 7081 |
+ |
_lt_result=$? |
| 7082 |
+ |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 7083 |
+ |
lt_cv_ld_force_load=yes |
| 7084 |
+ |
else |
| 7085 |
+ |
cat conftest.err >&5 |
| 7086 |
+ |
fi |
| 7087 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
| 7088 |
+ |
rm -rf conftest.dSYM |
| 7089 |
+ |
|
| 7090 |
+ |
fi |
| 7091 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 7092 |
+ |
$as_echo "$lt_cv_ld_force_load" >&6; } |
| 7093 |
|
case $host_os in |
| 7094 |
|
rhapsody* | darwin1.[012]) |
| 7095 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 7117 |
|
else |
| 7118 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 7119 |
|
fi |
| 7120 |
< |
if test "$DSYMUTIL" != ":"; then |
| 7120 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 7121 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
| 7122 |
|
else |
| 7123 |
|
_lt_dsymutil= |
| 7167 |
|
# Broken: fails on valid input. |
| 7168 |
|
continue |
| 7169 |
|
fi |
| 7170 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7170 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7171 |
|
|
| 7172 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7173 |
|
# can be detected and how. |
| 7183 |
|
ac_preproc_ok=: |
| 7184 |
|
break |
| 7185 |
|
fi |
| 7186 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7186 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7187 |
|
|
| 7188 |
|
done |
| 7189 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7190 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7190 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7191 |
|
if $ac_preproc_ok; then : |
| 7192 |
|
break |
| 7193 |
|
fi |
| 7226 |
|
# Broken: fails on valid input. |
| 7227 |
|
continue |
| 7228 |
|
fi |
| 7229 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7229 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7230 |
|
|
| 7231 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7232 |
|
# can be detected and how. |
| 7242 |
|
ac_preproc_ok=: |
| 7243 |
|
break |
| 7244 |
|
fi |
| 7245 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7245 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7246 |
|
|
| 7247 |
|
done |
| 7248 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7249 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7249 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7250 |
|
if $ac_preproc_ok; then : |
| 7251 |
|
|
| 7252 |
|
else |
| 7253 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7254 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7255 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 7256 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 7255 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 7256 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 7257 |
|
fi |
| 7258 |
|
|
| 7259 |
|
ac_ext=c |
| 7382 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7383 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7384 |
|
" |
| 7385 |
< |
eval as_val=\$$as_ac_Header |
| 7342 |
< |
if test "x$as_val" = x""yes; then : |
| 7385 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 7386 |
|
cat >>confdefs.h <<_ACEOF |
| 7387 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7388 |
|
_ACEOF |
| 7407 |
|
|
| 7408 |
|
|
| 7409 |
|
|
| 7367 |
– |
# Set options |
| 7368 |
– |
enable_dlopen=yes |
| 7369 |
– |
|
| 7370 |
– |
|
| 7371 |
– |
|
| 7372 |
– |
|
| 7373 |
– |
enable_win32_dll=no |
| 7410 |
|
|
| 7411 |
|
|
| 7412 |
< |
# Check whether --enable-shared was given. |
| 7413 |
< |
if test "${enable_shared+set}" = set; then : |
| 7414 |
< |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7412 |
> |
# Set options |
| 7413 |
> |
enable_dlopen=yes |
| 7414 |
> |
# Check whether --enable-static was given. |
| 7415 |
> |
if test "${enable_static+set}" = set; then : |
| 7416 |
> |
enableval=$enable_static; p=${PACKAGE-default} |
| 7417 |
|
case $enableval in |
| 7418 |
< |
yes) enable_shared=yes ;; |
| 7419 |
< |
no) enable_shared=no ;; |
| 7418 |
> |
yes) enable_static=yes ;; |
| 7419 |
> |
no) enable_static=no ;; |
| 7420 |
|
*) |
| 7421 |
< |
enable_shared=no |
| 7421 |
> |
enable_static=no |
| 7422 |
|
# Look at the argument we got. We use all the common list separators. |
| 7423 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7424 |
|
for pkg in $enableval; do |
| 7425 |
|
IFS="$lt_save_ifs" |
| 7426 |
|
if test "X$pkg" = "X$p"; then |
| 7427 |
< |
enable_shared=yes |
| 7427 |
> |
enable_static=yes |
| 7428 |
|
fi |
| 7429 |
|
done |
| 7430 |
|
IFS="$lt_save_ifs" |
| 7431 |
|
;; |
| 7432 |
|
esac |
| 7433 |
|
else |
| 7434 |
< |
enable_shared=yes |
| 7434 |
> |
enable_static=no |
| 7435 |
|
fi |
| 7436 |
|
|
| 7437 |
|
|
| 7442 |
|
|
| 7443 |
|
|
| 7444 |
|
|
| 7445 |
< |
# Check whether --enable-static was given. |
| 7446 |
< |
if test "${enable_static+set}" = set; then : |
| 7447 |
< |
enableval=$enable_static; p=${PACKAGE-default} |
| 7445 |
> |
|
| 7446 |
> |
|
| 7447 |
> |
enable_win32_dll=no |
| 7448 |
> |
|
| 7449 |
> |
|
| 7450 |
> |
# Check whether --enable-shared was given. |
| 7451 |
> |
if test "${enable_shared+set}" = set; then : |
| 7452 |
> |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7453 |
|
case $enableval in |
| 7454 |
< |
yes) enable_static=yes ;; |
| 7455 |
< |
no) enable_static=no ;; |
| 7454 |
> |
yes) enable_shared=yes ;; |
| 7455 |
> |
no) enable_shared=no ;; |
| 7456 |
|
*) |
| 7457 |
< |
enable_static=no |
| 7457 |
> |
enable_shared=no |
| 7458 |
|
# Look at the argument we got. We use all the common list separators. |
| 7459 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7460 |
|
for pkg in $enableval; do |
| 7461 |
|
IFS="$lt_save_ifs" |
| 7462 |
|
if test "X$pkg" = "X$p"; then |
| 7463 |
< |
enable_static=yes |
| 7463 |
> |
enable_shared=yes |
| 7464 |
|
fi |
| 7465 |
|
done |
| 7466 |
|
IFS="$lt_save_ifs" |
| 7467 |
|
;; |
| 7468 |
|
esac |
| 7469 |
|
else |
| 7470 |
< |
enable_static=yes |
| 7470 |
> |
enable_shared=yes |
| 7471 |
|
fi |
| 7472 |
|
|
| 7473 |
|
|
| 7479 |
|
|
| 7480 |
|
|
| 7481 |
|
|
| 7482 |
+ |
|
| 7483 |
|
# Check whether --with-pic was given. |
| 7484 |
|
if test "${with_pic+set}" = set; then : |
| 7485 |
|
withval=$with_pic; pic_mode="$withval" |
| 7559 |
|
|
| 7560 |
|
|
| 7561 |
|
|
| 7562 |
+ |
|
| 7563 |
|
test -z "$LN_S" && LN_S="ln -s" |
| 7564 |
|
|
| 7565 |
|
|
| 7609 |
|
|
| 7610 |
|
|
| 7611 |
|
|
| 7567 |
– |
|
| 7568 |
– |
|
| 7569 |
– |
|
| 7570 |
– |
|
| 7571 |
– |
|
| 7572 |
– |
|
| 7573 |
– |
|
| 7574 |
– |
|
| 7575 |
– |
|
| 7576 |
– |
|
| 7577 |
– |
|
| 7578 |
– |
|
| 7579 |
– |
|
| 7612 |
|
case $host_os in |
| 7613 |
|
aix3*) |
| 7614 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
| 7621 |
|
;; |
| 7622 |
|
esac |
| 7623 |
|
|
| 7592 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
| 7593 |
– |
# metacharacters that are still active within double-quoted strings. |
| 7594 |
– |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 7595 |
– |
|
| 7596 |
– |
# Same as above, but do not quote variable references. |
| 7597 |
– |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 7598 |
– |
|
| 7599 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
| 7600 |
– |
# double_quote_subst'ed string. |
| 7601 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 7602 |
– |
|
| 7603 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
| 7604 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 7605 |
– |
|
| 7606 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
| 7607 |
– |
no_glob_subst='s/\*/\\\*/g' |
| 7608 |
– |
|
| 7624 |
|
# Global variables: |
| 7625 |
|
ofile=libtool |
| 7626 |
|
can_build_shared=yes |
| 7649 |
|
*) break;; |
| 7650 |
|
esac |
| 7651 |
|
done |
| 7652 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 7652 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 7653 |
|
|
| 7654 |
|
|
| 7655 |
|
# Only perform the check for file, if the check method requires it |
| 7854 |
|
lt_prog_compiler_no_builtin_flag= |
| 7855 |
|
|
| 7856 |
|
if test "$GCC" = yes; then |
| 7857 |
< |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
| 7857 |
> |
case $cc_basename in |
| 7858 |
> |
nvcc*) |
| 7859 |
> |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 7860 |
> |
*) |
| 7861 |
> |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 7862 |
> |
esac |
| 7863 |
|
|
| 7864 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 7865 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 7879 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7880 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7881 |
|
-e 's:$: $lt_compiler_flag:'` |
| 7882 |
< |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
| 7882 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 7883 |
|
(eval "$lt_compile" 2>conftest.err) |
| 7884 |
|
ac_status=$? |
| 7885 |
|
cat conftest.err >&5 |
| 7886 |
< |
echo "$as_me:7866: \$? = $ac_status" >&5 |
| 7886 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7887 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7888 |
|
# The compiler can only warn and ignore the option if not recognized |
| 7889 |
|
# So say no if there are warnings other than the usual output. |
| 7890 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 7890 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 7891 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 7892 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 7893 |
|
lt_cv_prog_compiler_rtti_exceptions=yes |
| 7965 |
|
lt_prog_compiler_pic='-fno-common' |
| 7966 |
|
;; |
| 7967 |
|
|
| 7968 |
+ |
haiku*) |
| 7969 |
+ |
# PIC is the default for Haiku. |
| 7970 |
+ |
# The "-static" flag exists, but is broken. |
| 7971 |
+ |
lt_prog_compiler_static= |
| 7972 |
+ |
;; |
| 7973 |
+ |
|
| 7974 |
|
hpux*) |
| 7975 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 7976 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 8013 |
|
lt_prog_compiler_pic='-fPIC' |
| 8014 |
|
;; |
| 8015 |
|
esac |
| 8016 |
+ |
|
| 8017 |
+ |
case $cc_basename in |
| 8018 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
| 8019 |
+ |
lt_prog_compiler_wl='-Xlinker ' |
| 8020 |
+ |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 8021 |
+ |
;; |
| 8022 |
+ |
esac |
| 8023 |
|
else |
| 8024 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
| 8025 |
|
case $host_os in |
| 8061 |
|
lt_prog_compiler_static='-non_shared' |
| 8062 |
|
;; |
| 8063 |
|
|
| 8064 |
< |
linux* | k*bsd*-gnu) |
| 8064 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 8065 |
|
case $cc_basename in |
| 8066 |
|
# old Intel for x86_64 which still supported -KPIC. |
| 8067 |
|
ecc*) |
| 8082 |
|
lt_prog_compiler_pic='--shared' |
| 8083 |
|
lt_prog_compiler_static='--static' |
| 8084 |
|
;; |
| 8085 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
| 8085 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 8086 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 8087 |
|
# which looks to be a dead project) |
| 8088 |
|
lt_prog_compiler_wl='-Wl,' |
| 8094 |
|
# All Alpha code is PIC. |
| 8095 |
|
lt_prog_compiler_static='-non_shared' |
| 8096 |
|
;; |
| 8097 |
< |
xl*) |
| 8098 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
| 8097 |
> |
xl* | bgxl* | bgf* | mpixl*) |
| 8098 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 8099 |
|
lt_prog_compiler_wl='-Wl,' |
| 8100 |
|
lt_prog_compiler_pic='-qpic' |
| 8101 |
|
lt_prog_compiler_static='-qstaticlink' |
| 8102 |
|
;; |
| 8103 |
|
*) |
| 8104 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 8105 |
< |
*Sun\ C*) |
| 8106 |
< |
# Sun C 5.9 |
| 8105 |
> |
*Sun\ F* | *Sun*Fortran*) |
| 8106 |
> |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 8107 |
|
lt_prog_compiler_pic='-KPIC' |
| 8108 |
|
lt_prog_compiler_static='-Bstatic' |
| 8109 |
< |
lt_prog_compiler_wl='-Wl,' |
| 8109 |
> |
lt_prog_compiler_wl='' |
| 8110 |
|
;; |
| 8111 |
< |
*Sun\ F*) |
| 8112 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 8111 |
> |
*Sun\ C*) |
| 8112 |
> |
# Sun C 5.9 |
| 8113 |
|
lt_prog_compiler_pic='-KPIC' |
| 8114 |
|
lt_prog_compiler_static='-Bstatic' |
| 8115 |
< |
lt_prog_compiler_wl='' |
| 8115 |
> |
lt_prog_compiler_wl='-Wl,' |
| 8116 |
|
;; |
| 8117 |
|
esac |
| 8118 |
|
;; |
| 8144 |
|
lt_prog_compiler_pic='-KPIC' |
| 8145 |
|
lt_prog_compiler_static='-Bstatic' |
| 8146 |
|
case $cc_basename in |
| 8147 |
< |
f77* | f90* | f95*) |
| 8147 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 8148 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
| 8149 |
|
*) |
| 8150 |
|
lt_prog_compiler_wl='-Wl,';; |
| 8231 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8232 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8233 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8234 |
< |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
| 8234 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 8235 |
|
(eval "$lt_compile" 2>conftest.err) |
| 8236 |
|
ac_status=$? |
| 8237 |
|
cat conftest.err >&5 |
| 8238 |
< |
echo "$as_me:8205: \$? = $ac_status" >&5 |
| 8238 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8239 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8240 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8241 |
|
# So say no if there are warnings other than the usual output. |
| 8242 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 8242 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 8243 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 8244 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 8245 |
|
lt_cv_prog_compiler_pic_works=yes |
| 8287 |
|
if test -s conftest.err; then |
| 8288 |
|
# Append any errors to the config.log. |
| 8289 |
|
cat conftest.err 1>&5 |
| 8290 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 8290 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 8291 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 8292 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 8293 |
|
lt_cv_prog_compiler_static_works=yes |
| 8336 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8337 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8338 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8339 |
< |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
| 8339 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 8340 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8341 |
|
ac_status=$? |
| 8342 |
|
cat out/conftest.err >&5 |
| 8343 |
< |
echo "$as_me:8310: \$? = $ac_status" >&5 |
| 8343 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8344 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8345 |
|
then |
| 8346 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8347 |
|
# So say no if there are warnings |
| 8348 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 8348 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 8349 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 8350 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 8351 |
|
lt_cv_prog_compiler_c_o=yes |
| 8391 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8392 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8393 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8394 |
< |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
| 8394 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 8395 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8396 |
|
ac_status=$? |
| 8397 |
|
cat out/conftest.err >&5 |
| 8398 |
< |
echo "$as_me:8365: \$? = $ac_status" >&5 |
| 8398 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8399 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8400 |
|
then |
| 8401 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8402 |
|
# So say no if there are warnings |
| 8403 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 8403 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 8404 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 8405 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 8406 |
|
lt_cv_prog_compiler_c_o=yes |
| 8513 |
|
esac |
| 8514 |
|
|
| 8515 |
|
ld_shlibs=yes |
| 8516 |
+ |
|
| 8517 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
| 8518 |
+ |
# that we're better off using the native interface for both. |
| 8519 |
+ |
lt_use_gnu_ld_interface=no |
| 8520 |
|
if test "$with_gnu_ld" = yes; then |
| 8521 |
+ |
case $host_os in |
| 8522 |
+ |
aix*) |
| 8523 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
| 8524 |
+ |
# with the native linker. However, as the warning in the GNU ld |
| 8525 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
| 8526 |
+ |
# shared libraries, regardless of the interface used. |
| 8527 |
+ |
case `$LD -v 2>&1` in |
| 8528 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 8529 |
+ |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 8530 |
+ |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 8531 |
+ |
*) |
| 8532 |
+ |
lt_use_gnu_ld_interface=yes |
| 8533 |
+ |
;; |
| 8534 |
+ |
esac |
| 8535 |
+ |
;; |
| 8536 |
+ |
*) |
| 8537 |
+ |
lt_use_gnu_ld_interface=yes |
| 8538 |
+ |
;; |
| 8539 |
+ |
esac |
| 8540 |
+ |
fi |
| 8541 |
+ |
|
| 8542 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
| 8543 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
| 8544 |
|
wlarc='${wl}' |
| 8545 |
|
|
| 8557 |
|
fi |
| 8558 |
|
supports_anon_versioning=no |
| 8559 |
|
case `$LD -v 2>&1` in |
| 8560 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
| 8561 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 8562 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 8563 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 8573 |
|
ld_shlibs=no |
| 8574 |
|
cat <<_LT_EOF 1>&2 |
| 8575 |
|
|
| 8576 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
| 8576 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
| 8577 |
|
*** to be unable to reliably create shared libraries on AIX. |
| 8578 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
| 8579 |
< |
*** really care for shared libraries, you may want to modify your PATH |
| 8580 |
< |
*** so that a non-GNU linker is found, and then restart. |
| 8579 |
> |
*** really care for shared libraries, you may want to install binutils |
| 8580 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 8581 |
> |
*** You will then need to restart the configuration process. |
| 8582 |
|
|
| 8583 |
|
_LT_EOF |
| 8584 |
|
fi |
| 8614 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 8615 |
|
# as there is no search path for DLLs. |
| 8616 |
|
hardcode_libdir_flag_spec='-L$libdir' |
| 8617 |
+ |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
| 8618 |
|
allow_undefined_flag=unsupported |
| 8619 |
|
always_export_symbols=no |
| 8620 |
|
enable_shared_with_static_runtimes=yes |
| 8636 |
|
fi |
| 8637 |
|
;; |
| 8638 |
|
|
| 8639 |
+ |
haiku*) |
| 8640 |
+ |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 8641 |
+ |
link_all_deplibs=yes |
| 8642 |
+ |
;; |
| 8643 |
+ |
|
| 8644 |
|
interix[3-9]*) |
| 8645 |
|
hardcode_direct=no |
| 8646 |
|
hardcode_shlibpath_var=no |
| 8656 |
|
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' |
| 8657 |
|
;; |
| 8658 |
|
|
| 8659 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
| 8659 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 8660 |
|
tmp_diet=no |
| 8661 |
|
if test "$host_os" = linux-dietlibc; then |
| 8662 |
|
case $cc_basename in |
| 8670 |
|
tmp_sharedflag='-shared' |
| 8671 |
|
case $cc_basename,$host_cpu in |
| 8672 |
|
pgcc*) # Portland Group C compiler |
| 8673 |
< |
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' |
| 8673 |
> |
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' |
| 8674 |
|
tmp_addflag=' $pic_flag' |
| 8675 |
|
;; |
| 8676 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
| 8677 |
< |
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' |
| 8676 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
| 8677 |
> |
# Portland Group f77 and f90 compilers |
| 8678 |
> |
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' |
| 8679 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
| 8680 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 8681 |
|
tmp_addflag=' -i_dynamic' ;; |
| 8686 |
|
lf95*) # Lahey Fortran 8.1 |
| 8687 |
|
whole_archive_flag_spec= |
| 8688 |
|
tmp_sharedflag='--shared' ;; |
| 8689 |
< |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 8689 |
> |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 8690 |
|
tmp_sharedflag='-qmkshrobj' |
| 8691 |
|
tmp_addflag= ;; |
| 8692 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
| 8693 |
+ |
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' |
| 8694 |
+ |
compiler_needs_object=yes |
| 8695 |
+ |
;; |
| 8696 |
|
esac |
| 8697 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 8698 |
|
*Sun\ C*) # Sun C 5.9 |
| 8699 |
< |
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' |
| 8699 |
> |
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' |
| 8700 |
|
compiler_needs_object=yes |
| 8701 |
|
tmp_sharedflag='-G' ;; |
| 8702 |
|
*Sun\ F*) # Sun Fortran 8.3 |
| 8712 |
|
fi |
| 8713 |
|
|
| 8714 |
|
case $cc_basename in |
| 8715 |
< |
xlf*) |
| 8715 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
| 8716 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 8717 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 8718 |
|
hardcode_libdir_flag_spec= |
| 8719 |
|
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 8720 |
< |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
| 8720 |
> |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 8721 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 8722 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 8723 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 8724 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 8725 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 8725 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 8726 |
|
fi |
| 8727 |
|
;; |
| 8728 |
|
esac |
| 8843 |
|
else |
| 8844 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
| 8845 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 8846 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
| 8847 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
| 8848 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 8849 |
< |
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' |
| 8849 |
> |
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' |
| 8850 |
|
else |
| 8851 |
|
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' |
| 8852 |
|
fi |
| 8908 |
|
if test "$aix_use_runtimelinking" = yes; then |
| 8909 |
|
shared_flag="$shared_flag "'${wl}-G' |
| 8910 |
|
fi |
| 8837 |
– |
link_all_deplibs=no |
| 8911 |
|
else |
| 8912 |
|
# not using gcc |
| 8913 |
|
if test "$host_cpu" = ia64; then |
| 8964 |
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 8965 |
|
|
| 8966 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 8967 |
< |
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" |
| 8967 |
> |
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" |
| 8968 |
|
else |
| 8969 |
|
if test "$host_cpu" = ia64; then |
| 8970 |
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 9008 |
|
# -berok will link without error, but may produce a broken library. |
| 9009 |
|
no_undefined_flag=' ${wl}-bernotok' |
| 9010 |
|
allow_undefined_flag=' ${wl}-berok' |
| 9011 |
< |
# Exported symbols can be pulled into shared objects from archives |
| 9012 |
< |
whole_archive_flag_spec='$convenience' |
| 9011 |
> |
if test "$with_gnu_ld" = yes; then |
| 9012 |
> |
# We only use this code for GNU lds that support --whole-archive. |
| 9013 |
> |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 9014 |
> |
else |
| 9015 |
> |
# Exported symbols can be pulled into shared objects from archives |
| 9016 |
> |
whole_archive_flag_spec='$convenience' |
| 9017 |
> |
fi |
| 9018 |
|
archive_cmds_need_lc=yes |
| 9019 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
| 9020 |
|
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' |
| 9053 |
|
# Tell ltmain to make .dll files, not .so files. |
| 9054 |
|
shrext_cmds=".dll" |
| 9055 |
|
# FIXME: Setting linknames here is a bad hack. |
| 9056 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9056 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9057 |
|
# The linker will automatically build a .lib file if we build a DLL. |
| 9058 |
|
old_archive_from_new_cmds='true' |
| 9059 |
|
# FIXME: Should let the user specify the lib program. |
| 9069 |
|
hardcode_direct=no |
| 9070 |
|
hardcode_automatic=yes |
| 9071 |
|
hardcode_shlibpath_var=unsupported |
| 9072 |
< |
whole_archive_flag_spec='' |
| 9072 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
| 9073 |
> |
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\"`' |
| 9074 |
> |
else |
| 9075 |
> |
whole_archive_flag_spec='' |
| 9076 |
> |
fi |
| 9077 |
|
link_all_deplibs=yes |
| 9078 |
|
allow_undefined_flag="$_lt_dar_allow_undefined" |
| 9079 |
|
case $cc_basename in |
| 9081 |
|
*) _lt_dar_can_shared=$GCC ;; |
| 9082 |
|
esac |
| 9083 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
| 9084 |
< |
output_verbose_link_cmd=echo |
| 9084 |
> |
output_verbose_link_cmd=func_echo_all |
| 9085 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
| 9086 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 9087 |
|
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}" |
| 9147 |
|
;; |
| 9148 |
|
|
| 9149 |
|
hpux10*) |
| 9150 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 9150 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 9151 |
|
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9152 |
|
else |
| 9153 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 9166 |
|
;; |
| 9167 |
|
|
| 9168 |
|
hpux11*) |
| 9169 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 9169 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 9170 |
|
case $host_cpu in |
| 9171 |
|
hppa*64*) |
| 9172 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9187 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9188 |
|
;; |
| 9189 |
|
*) |
| 9190 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9190 |
> |
|
| 9191 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
| 9192 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 9193 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 9194 |
> |
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 9195 |
> |
if test "${lt_cv_prog_compiler__b+set}" = set; then : |
| 9196 |
> |
$as_echo_n "(cached) " >&6 |
| 9197 |
> |
else |
| 9198 |
> |
lt_cv_prog_compiler__b=no |
| 9199 |
> |
save_LDFLAGS="$LDFLAGS" |
| 9200 |
> |
LDFLAGS="$LDFLAGS -b" |
| 9201 |
> |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 9202 |
> |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 9203 |
> |
# The linker can only warn and ignore the option if not recognized |
| 9204 |
> |
# So say no if there are warnings |
| 9205 |
> |
if test -s conftest.err; then |
| 9206 |
> |
# Append any errors to the config.log. |
| 9207 |
> |
cat conftest.err 1>&5 |
| 9208 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 9209 |
> |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9210 |
> |
if diff conftest.exp conftest.er2 >/dev/null; then |
| 9211 |
> |
lt_cv_prog_compiler__b=yes |
| 9212 |
> |
fi |
| 9213 |
> |
else |
| 9214 |
> |
lt_cv_prog_compiler__b=yes |
| 9215 |
> |
fi |
| 9216 |
> |
fi |
| 9217 |
> |
$RM -r conftest* |
| 9218 |
> |
LDFLAGS="$save_LDFLAGS" |
| 9219 |
> |
|
| 9220 |
> |
fi |
| 9221 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 9222 |
> |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 9223 |
> |
|
| 9224 |
> |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
| 9225 |
> |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9226 |
> |
else |
| 9227 |
> |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 9228 |
> |
fi |
| 9229 |
> |
|
| 9230 |
|
;; |
| 9231 |
|
esac |
| 9232 |
|
fi |
| 9254 |
|
|
| 9255 |
|
irix5* | irix6* | nonstopux*) |
| 9256 |
|
if test "$GCC" = yes; then |
| 9257 |
< |
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' |
| 9257 |
> |
archive_cmds='$CC -shared $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' |
| 9258 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 9259 |
|
# work, assume that -exports_file does not work either and |
| 9260 |
|
# implicitly export all symbols. |
| 9265 |
|
int foo(void) {} |
| 9266 |
|
_ACEOF |
| 9267 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9268 |
< |
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' |
| 9268 |
> |
archive_expsym_cmds='$CC -shared $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' |
| 9269 |
|
|
| 9270 |
|
fi |
| 9271 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9272 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9273 |
|
LDFLAGS="$save_LDFLAGS" |
| 9274 |
|
else |
| 9275 |
< |
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' |
| 9276 |
< |
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' |
| 9275 |
> |
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' |
| 9276 |
> |
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' |
| 9277 |
|
fi |
| 9278 |
|
archive_cmds_need_lc='no' |
| 9279 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9335 |
|
hardcode_libdir_flag_spec='-L$libdir' |
| 9336 |
|
hardcode_minus_L=yes |
| 9337 |
|
allow_undefined_flag=unsupported |
| 9338 |
< |
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' |
| 9338 |
> |
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' |
| 9339 |
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
| 9340 |
|
;; |
| 9341 |
|
|
| 9342 |
|
osf3*) |
| 9343 |
|
if test "$GCC" = yes; then |
| 9344 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 9345 |
< |
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' |
| 9345 |
> |
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' |
| 9346 |
|
else |
| 9347 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 9348 |
< |
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' |
| 9348 |
> |
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' |
| 9349 |
|
fi |
| 9350 |
|
archive_cmds_need_lc='no' |
| 9351 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9355 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 9356 |
|
if test "$GCC" = yes; then |
| 9357 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 9358 |
< |
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' |
| 9358 |
> |
archive_cmds='$CC -shared${allow_undefined_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' |
| 9359 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9360 |
|
else |
| 9361 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 9362 |
< |
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' |
| 9362 |
> |
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' |
| 9363 |
|
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~ |
| 9364 |
< |
$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' |
| 9364 |
> |
$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' |
| 9365 |
|
|
| 9366 |
|
# Both c and cxx compiler support -rpath directly |
| 9367 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
| 9564 |
|
# to ld, don't add -lc before -lgcc. |
| 9565 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 9566 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 9567 |
< |
$RM conftest* |
| 9568 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9567 |
> |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : |
| 9568 |
> |
$as_echo_n "(cached) " >&6 |
| 9569 |
> |
else |
| 9570 |
> |
$RM conftest* |
| 9571 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9572 |
|
|
| 9573 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9573 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9574 |
|
(eval $ac_compile) 2>&5 |
| 9575 |
|
ac_status=$? |
| 9576 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9577 |
|
test $ac_status = 0; } 2>conftest.err; then |
| 9578 |
< |
soname=conftest |
| 9579 |
< |
lib=conftest |
| 9580 |
< |
libobjs=conftest.$ac_objext |
| 9581 |
< |
deplibs= |
| 9582 |
< |
wl=$lt_prog_compiler_wl |
| 9583 |
< |
pic_flag=$lt_prog_compiler_pic |
| 9584 |
< |
compiler_flags=-v |
| 9585 |
< |
linker_flags=-v |
| 9586 |
< |
verstring= |
| 9587 |
< |
output_objdir=. |
| 9588 |
< |
libname=conftest |
| 9589 |
< |
lt_save_allow_undefined_flag=$allow_undefined_flag |
| 9590 |
< |
allow_undefined_flag= |
| 9591 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 9578 |
> |
soname=conftest |
| 9579 |
> |
lib=conftest |
| 9580 |
> |
libobjs=conftest.$ac_objext |
| 9581 |
> |
deplibs= |
| 9582 |
> |
wl=$lt_prog_compiler_wl |
| 9583 |
> |
pic_flag=$lt_prog_compiler_pic |
| 9584 |
> |
compiler_flags=-v |
| 9585 |
> |
linker_flags=-v |
| 9586 |
> |
verstring= |
| 9587 |
> |
output_objdir=. |
| 9588 |
> |
libname=conftest |
| 9589 |
> |
lt_save_allow_undefined_flag=$allow_undefined_flag |
| 9590 |
> |
allow_undefined_flag= |
| 9591 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 9592 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 9593 |
|
ac_status=$? |
| 9594 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9595 |
|
test $ac_status = 0; } |
| 9596 |
< |
then |
| 9597 |
< |
archive_cmds_need_lc=no |
| 9598 |
< |
else |
| 9599 |
< |
archive_cmds_need_lc=yes |
| 9600 |
< |
fi |
| 9601 |
< |
allow_undefined_flag=$lt_save_allow_undefined_flag |
| 9602 |
< |
else |
| 9603 |
< |
cat conftest.err 1>&5 |
| 9604 |
< |
fi |
| 9605 |
< |
$RM conftest* |
| 9606 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
| 9607 |
< |
$as_echo "$archive_cmds_need_lc" >&6; } |
| 9596 |
> |
then |
| 9597 |
> |
lt_cv_archive_cmds_need_lc=no |
| 9598 |
> |
else |
| 9599 |
> |
lt_cv_archive_cmds_need_lc=yes |
| 9600 |
> |
fi |
| 9601 |
> |
allow_undefined_flag=$lt_save_allow_undefined_flag |
| 9602 |
> |
else |
| 9603 |
> |
cat conftest.err 1>&5 |
| 9604 |
> |
fi |
| 9605 |
> |
$RM conftest* |
| 9606 |
> |
|
| 9607 |
> |
fi |
| 9608 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 9609 |
> |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
| 9610 |
> |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 9611 |
|
;; |
| 9612 |
|
esac |
| 9613 |
|
fi |
| 9778 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 9779 |
|
*) lt_awk_arg="/^libraries:/" ;; |
| 9780 |
|
esac |
| 9781 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 9782 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
| 9781 |
> |
case $host_os in |
| 9782 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
| 9783 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
| 9784 |
> |
esac |
| 9785 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 9786 |
> |
case $lt_search_path_spec in |
| 9787 |
> |
*\;*) |
| 9788 |
|
# if the path contains ";" then we assume it to be the separator |
| 9789 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
| 9790 |
|
# assumed that no part of a normal pathname contains ";" but that should |
| 9791 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
| 9792 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
| 9793 |
< |
else |
| 9794 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 9795 |
< |
fi |
| 9792 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 9793 |
> |
;; |
| 9794 |
> |
*) |
| 9795 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 9796 |
> |
;; |
| 9797 |
> |
esac |
| 9798 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
| 9799 |
|
# and add multilib dir if necessary. |
| 9800 |
|
lt_tmp_lt_search_path_spec= |
| 9807 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 9808 |
|
fi |
| 9809 |
|
done |
| 9810 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
| 9810 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 9811 |
|
BEGIN {RS=" "; FS="/|\n";} { |
| 9812 |
|
lt_foo=""; |
| 9813 |
|
lt_count=0; |
| 9827 |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 9828 |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 9829 |
|
}'` |
| 9830 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
| 9830 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
| 9831 |
> |
# for these hosts. |
| 9832 |
> |
case $host_os in |
| 9833 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 9834 |
> |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
| 9835 |
> |
esac |
| 9836 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 9837 |
|
else |
| 9838 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 9839 |
|
fi |
| 9921 |
|
m68k) |
| 9922 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
| 9923 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 9924 |
< |
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' |
| 9924 |
> |
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' |
| 9925 |
|
;; |
| 9926 |
|
esac |
| 9927 |
|
;; |
| 9974 |
|
cygwin*) |
| 9975 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 9976 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 9977 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
| 9977 |
> |
|
| 9978 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 9979 |
|
;; |
| 9980 |
|
mingw* | cegcc*) |
| 9981 |
|
# MinGW DLLs use traditional 'lib' prefix |
| 9982 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 9842 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 9843 |
– |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 9844 |
– |
# It is most probably a Windows format PATH printed by |
| 9845 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
| 9846 |
– |
# path with ; separators, and with drive letters. We can handle the |
| 9847 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
| 9848 |
– |
# especially as we might pass files found there to a mingw objdump, |
| 9849 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
| 9850 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 9851 |
– |
else |
| 9852 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 9853 |
– |
fi |
| 9983 |
|
;; |
| 9984 |
|
pw32*) |
| 9985 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 10079 |
|
hardcode_into_libs=yes |
| 10080 |
|
;; |
| 10081 |
|
|
| 10082 |
+ |
haiku*) |
| 10083 |
+ |
version_type=linux |
| 10084 |
+ |
need_lib_prefix=no |
| 10085 |
+ |
need_version=no |
| 10086 |
+ |
dynamic_linker="$host_os runtime_loader" |
| 10087 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 10088 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
| 10089 |
+ |
shlibpath_var=LIBRARY_PATH |
| 10090 |
+ |
shlibpath_overrides_runpath=yes |
| 10091 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| 10092 |
+ |
hardcode_into_libs=yes |
| 10093 |
+ |
;; |
| 10094 |
+ |
|
| 10095 |
|
hpux9* | hpux10* | hpux11*) |
| 10096 |
|
# Give a soname corresponding to the major version so that dld.sl refuses to |
| 10097 |
|
# link against other versions. |
| 10134 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10135 |
|
;; |
| 10136 |
|
esac |
| 10137 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
| 10137 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 10138 |
|
postinstall_cmds='chmod 555 $lib' |
| 10139 |
+ |
# or fails outright, so override atomically: |
| 10140 |
+ |
install_override_mode=555 |
| 10141 |
|
;; |
| 10142 |
|
|
| 10143 |
|
interix[3-9]*) |
| 10195 |
|
;; |
| 10196 |
|
|
| 10197 |
|
# This must be Linux ELF. |
| 10198 |
< |
linux* | k*bsd*-gnu) |
| 10198 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 10199 |
|
version_type=linux |
| 10200 |
|
need_lib_prefix=no |
| 10201 |
|
need_version=no |
| 10204 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 10205 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10206 |
|
shlibpath_overrides_runpath=no |
| 10207 |
+ |
|
| 10208 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 10209 |
< |
save_LDFLAGS=$LDFLAGS |
| 10210 |
< |
save_libdir=$libdir |
| 10211 |
< |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 10212 |
< |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 10213 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10209 |
> |
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : |
| 10210 |
> |
$as_echo_n "(cached) " >&6 |
| 10211 |
> |
else |
| 10212 |
> |
lt_cv_shlibpath_overrides_runpath=no |
| 10213 |
> |
save_LDFLAGS=$LDFLAGS |
| 10214 |
> |
save_libdir=$libdir |
| 10215 |
> |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 10216 |
> |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 10217 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10218 |
|
/* end confdefs.h. */ |
| 10219 |
|
|
| 10220 |
|
int |
| 10227 |
|
_ACEOF |
| 10228 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 10229 |
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 10230 |
< |
shlibpath_overrides_runpath=yes |
| 10230 |
> |
lt_cv_shlibpath_overrides_runpath=yes |
| 10231 |
|
fi |
| 10232 |
|
fi |
| 10233 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 10234 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10235 |
< |
LDFLAGS=$save_LDFLAGS |
| 10236 |
< |
libdir=$save_libdir |
| 10235 |
> |
LDFLAGS=$save_LDFLAGS |
| 10236 |
> |
libdir=$save_libdir |
| 10237 |
> |
|
| 10238 |
> |
fi |
| 10239 |
> |
|
| 10240 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 10241 |
|
|
| 10242 |
|
# This implies no fast_install, which is unacceptable. |
| 10243 |
|
# Some rework will be needed to allow for fast_install |
| 10244 |
|
# before this can be enabled. |
| 10245 |
|
hardcode_into_libs=yes |
| 10246 |
|
|
| 10094 |
– |
# find out which ABI we are using |
| 10095 |
– |
libsuff= |
| 10096 |
– |
case "$host_cpu" in |
| 10097 |
– |
x86_64*|s390x*|powerpc64*) |
| 10098 |
– |
echo '#line 10098 "configure"' > conftest.$ac_ext |
| 10099 |
– |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10100 |
– |
(eval $ac_compile) 2>&5 |
| 10101 |
– |
ac_status=$? |
| 10102 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10103 |
– |
test $ac_status = 0; }; then |
| 10104 |
– |
case `/usr/bin/file conftest.$ac_objext` in |
| 10105 |
– |
*64-bit*) |
| 10106 |
– |
libsuff=64 |
| 10107 |
– |
;; |
| 10108 |
– |
esac |
| 10109 |
– |
fi |
| 10110 |
– |
rm -rf conftest* |
| 10111 |
– |
;; |
| 10112 |
– |
esac |
| 10113 |
– |
|
| 10114 |
– |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
| 10115 |
– |
|
| 10247 |
|
# Append ld.so.conf contents to the search path |
| 10248 |
|
if test -f /etc/ld.so.conf; then |
| 10249 |
< |
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' ' '` |
| 10250 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
| 10249 |
> |
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' ' '` |
| 10250 |
> |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 10251 |
|
fi |
| 10252 |
|
|
| 10253 |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 10549 |
|
|
| 10550 |
|
|
| 10551 |
|
|
| 10552 |
+ |
|
| 10553 |
+ |
|
| 10554 |
+ |
|
| 10555 |
+ |
|
| 10556 |
+ |
|
| 10557 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 10558 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 10559 |
|
hardcode_action= |
| 10884 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10885 |
|
lt_status=$lt_dlunknown |
| 10886 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10887 |
< |
#line 10751 "configure" |
| 10887 |
> |
#line $LINENO "configure" |
| 10888 |
|
#include "confdefs.h" |
| 10889 |
|
|
| 10890 |
|
#if HAVE_DLFCN_H |
| 10925 |
|
# endif |
| 10926 |
|
#endif |
| 10927 |
|
|
| 10928 |
< |
void fnord() { int i=42;} |
| 10928 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 10929 |
> |
correspondingly for the symbols needed. */ |
| 10930 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 10931 |
> |
void fnord () __attribute__((visibility("default"))); |
| 10932 |
> |
#endif |
| 10933 |
> |
|
| 10934 |
> |
void fnord () { int i=42; } |
| 10935 |
|
int main () |
| 10936 |
|
{ |
| 10937 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 10940 |
|
if (self) |
| 10941 |
|
{ |
| 10942 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 10943 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 10943 |
> |
else |
| 10944 |
> |
{ |
| 10945 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 10946 |
> |
else puts (dlerror ()); |
| 10947 |
> |
} |
| 10948 |
|
/* dlclose (self); */ |
| 10949 |
|
} |
| 10950 |
|
else |
| 10990 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10991 |
|
lt_status=$lt_dlunknown |
| 10992 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10993 |
< |
#line 10847 "configure" |
| 10993 |
> |
#line $LINENO "configure" |
| 10994 |
|
#include "confdefs.h" |
| 10995 |
|
|
| 10996 |
|
#if HAVE_DLFCN_H |
| 11031 |
|
# endif |
| 11032 |
|
#endif |
| 11033 |
|
|
| 11034 |
< |
void fnord() { int i=42;} |
| 11034 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11035 |
> |
correspondingly for the symbols needed. */ |
| 11036 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11037 |
> |
void fnord () __attribute__((visibility("default"))); |
| 11038 |
> |
#endif |
| 11039 |
> |
|
| 11040 |
> |
void fnord () { int i=42; } |
| 11041 |
|
int main () |
| 11042 |
|
{ |
| 11043 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11046 |
|
if (self) |
| 11047 |
|
{ |
| 11048 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 11049 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 11049 |
> |
else |
| 11050 |
> |
{ |
| 11051 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 11052 |
> |
else puts (dlerror ()); |
| 11053 |
> |
} |
| 11054 |
|
/* dlclose (self); */ |
| 11055 |
|
} |
| 11056 |
|
else |
| 11672 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 11673 |
|
lt_status=$lt_dlunknown |
| 11674 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 11675 |
< |
#line 11519 "configure" |
| 11675 |
> |
#line $LINENO "configure" |
| 11676 |
|
#include "confdefs.h" |
| 11677 |
|
|
| 11678 |
|
#if HAVE_DLFCN_H |
| 11713 |
|
# endif |
| 11714 |
|
#endif |
| 11715 |
|
|
| 11716 |
< |
void fnord() { int i=42;} |
| 11716 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11717 |
> |
correspondingly for the symbols needed. */ |
| 11718 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11719 |
> |
void fnord () __attribute__((visibility("default"))); |
| 11720 |
> |
#endif |
| 11721 |
> |
|
| 11722 |
> |
void fnord () { int i=42; } |
| 11723 |
|
int main () |
| 11724 |
|
{ |
| 11725 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11728 |
|
if (self) |
| 11729 |
|
{ |
| 11730 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 11731 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 11731 |
> |
else |
| 11732 |
> |
{ |
| 11733 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 11734 |
> |
else puts (dlerror ()); |
| 11735 |
> |
} |
| 11736 |
|
/* dlclose (self); */ |
| 11737 |
|
} |
| 11738 |
|
else |
| 11808 |
|
freebsd* | dragonfly*) |
| 11809 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 11810 |
|
;; |
| 11811 |
< |
gnu* | linux* | k*bsd*-gnu) |
| 11811 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 11812 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
| 11813 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 11814 |
|
;; |
| 11919 |
|
do : |
| 11920 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11921 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 11922 |
< |
eval as_val=\$$as_ac_var |
| 11757 |
< |
if test "x$as_val" = x""yes; then : |
| 11922 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 11923 |
|
cat >>confdefs.h <<_ACEOF |
| 11924 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11925 |
|
_ACEOF |
| 12002 |
|
|
| 12003 |
|
fi |
| 12004 |
|
|
| 11840 |
– |
|
| 11841 |
– |
|
| 12005 |
|
# Set options |
| 12006 |
|
|
| 12007 |
|
|
| 12014 |
|
|
| 12015 |
|
|
| 12016 |
|
|
| 11854 |
– |
|
| 12017 |
|
# Check whether --with-included_ltdl was given. |
| 12018 |
|
if test "${with_included_ltdl+set}" = set; then : |
| 12019 |
|
withval=$with_included_ltdl; |
| 12087 |
|
|
| 12088 |
|
|
| 12089 |
|
|
| 11928 |
– |
|
| 11929 |
– |
|
| 11930 |
– |
|
| 11931 |
– |
|
| 11932 |
– |
|
| 12090 |
|
# Check whether --with-ltdl_include was given. |
| 12091 |
|
if test "${with_ltdl_include+set}" = set; then : |
| 12092 |
|
withval=$with_ltdl_include; |
| 12096 |
|
if test -n "$with_ltdl_include"; then |
| 12097 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
| 12098 |
|
else |
| 12099 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 12099 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 12100 |
|
fi |
| 12101 |
|
else |
| 12102 |
|
with_ltdl_include=no |
| 12112 |
|
if test -n "$with_ltdl_lib"; then |
| 12113 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
| 12114 |
|
else |
| 12115 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 12115 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 12116 |
|
fi |
| 12117 |
|
else |
| 12118 |
|
with_ltdl_lib=no |
| 12121 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
| 12122 |
|
,yes,no,no,) |
| 12123 |
|
case $enable_ltdl_convenience in |
| 12124 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
| 12124 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
| 12125 |
|
"") enable_ltdl_convenience=yes |
| 12126 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| 12127 |
|
esac |
| 12149 |
|
LTDLINCL= |
| 12150 |
|
;; |
| 12151 |
|
,no*,no,*) |
| 12152 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 12152 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 12153 |
|
;; |
| 12154 |
|
*) with_included_ltdl=no |
| 12155 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
| 12200 |
|
|
| 12201 |
|
|
| 12202 |
|
|
| 12046 |
– |
subdirs="$subdirs libltdl" |
| 12047 |
– |
|
| 12048 |
– |
|
| 12203 |
|
|
| 12204 |
|
|
| 12205 |
|
|
| 12216 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12217 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 12218 |
|
" |
| 12219 |
< |
eval as_val=\$$as_ac_Header |
| 12066 |
< |
if test "x$as_val" = x""yes; then : |
| 12219 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 12220 |
|
cat >>confdefs.h <<_ACEOF |
| 12221 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12222 |
|
_ACEOF |
| 12230 |
|
do : |
| 12231 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12232 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12233 |
< |
eval as_val=\$$as_ac_var |
| 12081 |
< |
if test "x$as_val" = x""yes; then : |
| 12233 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12234 |
|
cat >>confdefs.h <<_ACEOF |
| 12235 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12236 |
|
_ACEOF |
| 12247 |
|
do : |
| 12248 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12249 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12250 |
< |
eval as_val=\$$as_ac_var |
| 12099 |
< |
if test "x$as_val" = x""yes; then : |
| 12250 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12251 |
|
cat >>confdefs.h <<_ACEOF |
| 12252 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12253 |
|
_ACEOF |
| 12282 |
|
|
| 12283 |
|
LIBTOOL="$LIBTOOL --silent" |
| 12284 |
|
|
| 12134 |
– |
|
| 12285 |
|
# Checks for libraries. |
| 12286 |
|
|
| 12287 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12339 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12340 |
|
|
| 12341 |
|
else |
| 12342 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
| 12342 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 12343 |
> |
fi |
| 12344 |
> |
|
| 12345 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 12346 |
> |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 12347 |
> |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 12348 |
> |
$as_echo_n "(cached) " >&6 |
| 12349 |
> |
else |
| 12350 |
> |
ac_func_search_save_LIBS=$LIBS |
| 12351 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12352 |
> |
/* end confdefs.h. */ |
| 12353 |
> |
|
| 12354 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 12355 |
> |
Use char because int might match the return type of a GCC |
| 12356 |
> |
builtin and then its argument prototype would still apply. */ |
| 12357 |
> |
#ifdef __cplusplus |
| 12358 |
> |
extern "C" |
| 12359 |
> |
#endif |
| 12360 |
> |
char inet_ntoa (); |
| 12361 |
> |
int |
| 12362 |
> |
main () |
| 12363 |
> |
{ |
| 12364 |
> |
return inet_ntoa (); |
| 12365 |
> |
; |
| 12366 |
> |
return 0; |
| 12367 |
> |
} |
| 12368 |
> |
_ACEOF |
| 12369 |
> |
for ac_lib in '' nsl; do |
| 12370 |
> |
if test -z "$ac_lib"; then |
| 12371 |
> |
ac_res="none required" |
| 12372 |
> |
else |
| 12373 |
> |
ac_res=-l$ac_lib |
| 12374 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12375 |
> |
fi |
| 12376 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12377 |
> |
ac_cv_search_inet_ntoa=$ac_res |
| 12378 |
> |
fi |
| 12379 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12380 |
> |
conftest$ac_exeext |
| 12381 |
> |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 12382 |
> |
break |
| 12383 |
> |
fi |
| 12384 |
> |
done |
| 12385 |
> |
if test "${ac_cv_search_inet_ntoa+set}" = set; then : |
| 12386 |
> |
|
| 12387 |
> |
else |
| 12388 |
> |
ac_cv_search_inet_ntoa=no |
| 12389 |
> |
fi |
| 12390 |
> |
rm conftest.$ac_ext |
| 12391 |
> |
LIBS=$ac_func_search_save_LIBS |
| 12392 |
> |
fi |
| 12393 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 12394 |
> |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 12395 |
> |
ac_res=$ac_cv_search_inet_ntoa |
| 12396 |
> |
if test "$ac_res" != no; then : |
| 12397 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12398 |
> |
|
| 12399 |
> |
fi |
| 12400 |
> |
|
| 12401 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 12402 |
> |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 12403 |
> |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 12404 |
> |
$as_echo_n "(cached) " >&6 |
| 12405 |
> |
else |
| 12406 |
> |
ac_func_search_save_LIBS=$LIBS |
| 12407 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12408 |
> |
/* end confdefs.h. */ |
| 12409 |
> |
|
| 12410 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 12411 |
> |
Use char because int might match the return type of a GCC |
| 12412 |
> |
builtin and then its argument prototype would still apply. */ |
| 12413 |
> |
#ifdef __cplusplus |
| 12414 |
> |
extern "C" |
| 12415 |
> |
#endif |
| 12416 |
> |
char inet_aton (); |
| 12417 |
> |
int |
| 12418 |
> |
main () |
| 12419 |
> |
{ |
| 12420 |
> |
return inet_aton (); |
| 12421 |
> |
; |
| 12422 |
> |
return 0; |
| 12423 |
> |
} |
| 12424 |
> |
_ACEOF |
| 12425 |
> |
for ac_lib in '' resolv; do |
| 12426 |
> |
if test -z "$ac_lib"; then |
| 12427 |
> |
ac_res="none required" |
| 12428 |
> |
else |
| 12429 |
> |
ac_res=-l$ac_lib |
| 12430 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12431 |
> |
fi |
| 12432 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12433 |
> |
ac_cv_search_inet_aton=$ac_res |
| 12434 |
> |
fi |
| 12435 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12436 |
> |
conftest$ac_exeext |
| 12437 |
> |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 12438 |
> |
break |
| 12439 |
> |
fi |
| 12440 |
> |
done |
| 12441 |
> |
if test "${ac_cv_search_inet_aton+set}" = set; then : |
| 12442 |
> |
|
| 12443 |
> |
else |
| 12444 |
> |
ac_cv_search_inet_aton=no |
| 12445 |
> |
fi |
| 12446 |
> |
rm conftest.$ac_ext |
| 12447 |
> |
LIBS=$ac_func_search_save_LIBS |
| 12448 |
> |
fi |
| 12449 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 12450 |
> |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 12451 |
> |
ac_res=$ac_cv_search_inet_aton |
| 12452 |
> |
if test "$ac_res" != no; then : |
| 12453 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12454 |
> |
|
| 12455 |
|
fi |
| 12456 |
|
|
| 12457 |
|
for ac_func in inet_aton inet_ntop inet_pton |
| 12458 |
|
do : |
| 12459 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12460 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12461 |
< |
eval as_val=\$$as_ac_var |
| 12200 |
< |
if test "x$as_val" = x""yes; then : |
| 12461 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12462 |
|
cat >>confdefs.h <<_ACEOF |
| 12463 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12464 |
|
_ACEOF |
| 12536 |
|
|
| 12537 |
|
|
| 12538 |
|
|
| 12278 |
– |
|
| 12539 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 12280 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 12281 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 12282 |
– |
if test "${ac_cv_c_const+set}" = set; then : |
| 12283 |
– |
$as_echo_n "(cached) " >&6 |
| 12284 |
– |
else |
| 12285 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12286 |
– |
/* end confdefs.h. */ |
| 12287 |
– |
|
| 12288 |
– |
int |
| 12289 |
– |
main () |
| 12290 |
– |
{ |
| 12291 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
| 12292 |
– |
#ifndef __cplusplus |
| 12293 |
– |
/* Ultrix mips cc rejects this. */ |
| 12294 |
– |
typedef int charset[2]; |
| 12295 |
– |
const charset cs; |
| 12296 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
| 12297 |
– |
char const *const *pcpcc; |
| 12298 |
– |
char **ppc; |
| 12299 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 12300 |
– |
struct point {int x, y;}; |
| 12301 |
– |
static struct point const zero = {0,0}; |
| 12302 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
| 12303 |
– |
It does not let you subtract one const X* pointer from another in |
| 12304 |
– |
an arm of an if-expression whose if-part is not a constant |
| 12305 |
– |
expression */ |
| 12306 |
– |
const char *g = "string"; |
| 12307 |
– |
pcpcc = &g + (g ? g-g : 0); |
| 12308 |
– |
/* HPUX 7.0 cc rejects these. */ |
| 12309 |
– |
++pcpcc; |
| 12310 |
– |
ppc = (char**) pcpcc; |
| 12311 |
– |
pcpcc = (char const *const *) ppc; |
| 12312 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
| 12313 |
– |
char *t; |
| 12314 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 12315 |
– |
|
| 12316 |
– |
*t++ = 0; |
| 12317 |
– |
if (s) return 0; |
| 12318 |
– |
} |
| 12319 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 12320 |
– |
int x[] = {25, 17}; |
| 12321 |
– |
const int *foo = &x[0]; |
| 12322 |
– |
++foo; |
| 12323 |
– |
} |
| 12324 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 12325 |
– |
typedef const int *iptr; |
| 12326 |
– |
iptr p = 0; |
| 12327 |
– |
++p; |
| 12328 |
– |
} |
| 12329 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 12330 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 12331 |
– |
struct s { int j; const int *ap[3]; }; |
| 12332 |
– |
struct s *b; b->j = 5; |
| 12333 |
– |
} |
| 12334 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 12335 |
– |
const int foo = 10; |
| 12336 |
– |
if (!foo) return 0; |
| 12337 |
– |
} |
| 12338 |
– |
return !cs[0] && !zero.x; |
| 12339 |
– |
#endif |
| 12340 |
– |
|
| 12341 |
– |
; |
| 12342 |
– |
return 0; |
| 12343 |
– |
} |
| 12344 |
– |
_ACEOF |
| 12345 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12346 |
– |
ac_cv_c_const=yes |
| 12347 |
– |
else |
| 12348 |
– |
ac_cv_c_const=no |
| 12349 |
– |
fi |
| 12350 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12351 |
– |
fi |
| 12352 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 12353 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
| 12354 |
– |
if test $ac_cv_c_const = no; then |
| 12355 |
– |
|
| 12356 |
– |
$as_echo "#define const /**/" >>confdefs.h |
| 12357 |
– |
|
| 12358 |
– |
fi |
| 12359 |
– |
|
| 12360 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 12361 |
– |
$as_echo_n "checking for inline... " >&6; } |
| 12362 |
– |
if test "${ac_cv_c_inline+set}" = set; then : |
| 12363 |
– |
$as_echo_n "(cached) " >&6 |
| 12364 |
– |
else |
| 12365 |
– |
ac_cv_c_inline=no |
| 12366 |
– |
for ac_kw in inline __inline__ __inline; do |
| 12367 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12368 |
– |
/* end confdefs.h. */ |
| 12369 |
– |
#ifndef __cplusplus |
| 12370 |
– |
typedef int foo_t; |
| 12371 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
| 12372 |
– |
$ac_kw foo_t foo () {return 0; } |
| 12373 |
– |
#endif |
| 12374 |
– |
|
| 12375 |
– |
_ACEOF |
| 12376 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12377 |
– |
ac_cv_c_inline=$ac_kw |
| 12378 |
– |
fi |
| 12379 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12380 |
– |
test "$ac_cv_c_inline" != no && break |
| 12381 |
– |
done |
| 12382 |
– |
|
| 12383 |
– |
fi |
| 12384 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 12385 |
– |
$as_echo "$ac_cv_c_inline" >&6; } |
| 12386 |
– |
|
| 12387 |
– |
case $ac_cv_c_inline in |
| 12388 |
– |
inline | yes) ;; |
| 12389 |
– |
*) |
| 12390 |
– |
case $ac_cv_c_inline in |
| 12391 |
– |
no) ac_val=;; |
| 12392 |
– |
*) ac_val=$ac_cv_c_inline;; |
| 12393 |
– |
esac |
| 12394 |
– |
cat >>confdefs.h <<_ACEOF |
| 12395 |
– |
#ifndef __cplusplus |
| 12396 |
– |
#define inline $ac_val |
| 12397 |
– |
#endif |
| 12398 |
– |
_ACEOF |
| 12399 |
– |
;; |
| 12400 |
– |
esac |
| 12401 |
– |
|
| 12540 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 12541 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 12542 |
|
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 12757 |
|
|
| 12758 |
|
;; #( |
| 12759 |
|
*) |
| 12760 |
< |
as_fn_error "unknown endianness |
| 12760 |
> |
as_fn_error $? "unknown endianness |
| 12761 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 12762 |
|
esac |
| 12763 |
|
|
| 12764 |
|
|
| 12627 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 12628 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 12629 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 12630 |
– |
# This bug is HP SR number 8606223364. |
| 12631 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
| 12632 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
| 12633 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
| 12634 |
– |
$as_echo_n "(cached) " >&6 |
| 12635 |
– |
else |
| 12636 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
| 12637 |
– |
|
| 12638 |
– |
else |
| 12639 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
| 12640 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 12641 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 12642 |
– |
{ as_fn_set_status 77 |
| 12643 |
– |
as_fn_error "cannot compute sizeof (int64_t) |
| 12644 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 12645 |
– |
else |
| 12646 |
– |
ac_cv_sizeof_int64_t=0 |
| 12647 |
– |
fi |
| 12648 |
– |
fi |
| 12649 |
– |
|
| 12650 |
– |
fi |
| 12651 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
| 12652 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 12653 |
– |
|
| 12654 |
– |
|
| 12655 |
– |
|
| 12656 |
– |
cat >>confdefs.h <<_ACEOF |
| 12657 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 12658 |
– |
_ACEOF |
| 12659 |
– |
|
| 12660 |
– |
|
| 12661 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 12662 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 12663 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 12664 |
– |
# This bug is HP SR number 8606223364. |
| 12665 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
| 12666 |
– |
$as_echo_n "checking size of long long... " >&6; } |
| 12667 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
| 12668 |
– |
$as_echo_n "(cached) " >&6 |
| 12669 |
– |
else |
| 12670 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
| 12671 |
– |
|
| 12672 |
– |
else |
| 12673 |
– |
if test "$ac_cv_type_long_long" = yes; then |
| 12674 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 12675 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 12676 |
– |
{ as_fn_set_status 77 |
| 12677 |
– |
as_fn_error "cannot compute sizeof (long long) |
| 12678 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 12679 |
– |
else |
| 12680 |
– |
ac_cv_sizeof_long_long=0 |
| 12681 |
– |
fi |
| 12682 |
– |
fi |
| 12683 |
– |
|
| 12684 |
– |
fi |
| 12685 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
| 12686 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 12687 |
– |
|
| 12688 |
– |
|
| 12689 |
– |
|
| 12690 |
– |
cat >>confdefs.h <<_ACEOF |
| 12691 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 12692 |
– |
_ACEOF |
| 12693 |
– |
|
| 12694 |
– |
|
| 12695 |
– |
|
| 12696 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
| 12697 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 12698 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 12699 |
– |
|
| 12700 |
– |
fi |
| 12701 |
– |
|
| 12702 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 12703 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
| 12704 |
– |
|
| 12705 |
– |
fi |
| 12706 |
– |
|
| 12707 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
| 12708 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 12709 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 12710 |
– |
|
| 12711 |
– |
else |
| 12712 |
– |
|
| 12713 |
– |
cat >>confdefs.h <<_ACEOF |
| 12714 |
– |
#define uint64_t unsigned long long |
| 12715 |
– |
_ACEOF |
| 12716 |
– |
|
| 12717 |
– |
fi |
| 12718 |
– |
|
| 12719 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 12720 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
| 12721 |
– |
|
| 12722 |
– |
else |
| 12723 |
– |
|
| 12724 |
– |
cat >>confdefs.h <<_ACEOF |
| 12725 |
– |
#define int64_t long long |
| 12726 |
– |
_ACEOF |
| 12727 |
– |
|
| 12728 |
– |
fi |
| 12729 |
– |
|
| 12730 |
– |
else |
| 12731 |
– |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
| 12732 |
– |
fi |
| 12733 |
– |
|
| 12734 |
– |
|
| 12765 |
|
# Checks for library functions. |
| 12766 |
|
|
| 12767 |
|
|
| 12770 |
|
do : |
| 12771 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12772 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12773 |
< |
eval as_val=\$$as_ac_var |
| 12744 |
< |
if test "x$as_val" = x""yes; then : |
| 12773 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12774 |
|
cat >>confdefs.h <<_ACEOF |
| 12775 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12776 |
|
_ACEOF |
| 12790 |
|
|
| 12791 |
|
|
| 12792 |
|
|
| 12764 |
– |
|
| 12765 |
– |
|
| 12766 |
– |
|
| 12767 |
– |
|
| 12768 |
– |
|
| 12769 |
– |
|
| 12770 |
– |
|
| 12771 |
– |
|
| 12772 |
– |
|
| 12773 |
– |
|
| 12793 |
|
# Checks for header files. |
| 12794 |
|
|
| 12795 |
|
|
| 12799 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12800 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 12801 |
|
" |
| 12802 |
< |
eval as_val=\$$as_ac_Header |
| 12784 |
< |
if test "x$as_val" = x""yes; then : |
| 12802 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 12803 |
|
cat >>confdefs.h <<_ACEOF |
| 12804 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12805 |
|
_ACEOF |
| 12834 |
|
|
| 12835 |
|
|
| 12836 |
|
|
| 12837 |
< |
|
| 12820 |
< |
|
| 12821 |
< |
|
| 12822 |
< |
|
| 12837 |
> |
# check for /dev/null so we can use it to hold evil fd's |
| 12838 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 12839 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
| 12840 |
< |
if test -c /dev/null ; then |
| 12840 |
> |
if test -c /dev/null; then : |
| 12841 |
> |
|
| 12842 |
|
|
| 12843 |
|
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 12844 |
|
|
| 12846 |
|
$as_echo "yes" >&6; } |
| 12847 |
|
else |
| 12848 |
|
|
| 12849 |
+ |
|
| 12850 |
|
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 12851 |
|
|
| 12852 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 12878 |
|
return 0; |
| 12879 |
|
} |
| 12880 |
|
_ACEOF |
| 12881 |
< |
for ac_lib in '' crypt descrypt; do |
| 12881 |
> |
for ac_lib in '' crypt; do |
| 12882 |
|
if test -z "$ac_lib"; then |
| 12883 |
|
ac_res="none required" |
| 12884 |
|
else |
| 12910 |
|
|
| 12911 |
|
fi |
| 12912 |
|
|
| 12896 |
– |
if test "$ac_cv_search_crypt" = "none required"; then |
| 12897 |
– |
HAVE_CRYPT_TRUE= |
| 12898 |
– |
HAVE_CRYPT_FALSE='#' |
| 12899 |
– |
else |
| 12900 |
– |
HAVE_CRYPT_TRUE='#' |
| 12901 |
– |
HAVE_CRYPT_FALSE= |
| 12902 |
– |
fi |
| 12903 |
– |
|
| 12913 |
|
|
| 12914 |
|
|
| 12915 |
|
|
| 12927 |
|
fi |
| 12928 |
|
|
| 12929 |
|
|
| 12930 |
< |
if test "$zlib" = yes; then |
| 12930 |
> |
if test "$zlib" = "yes"; then : |
| 12931 |
> |
|
| 12932 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 12933 |
|
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 12934 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 12984 |
|
fi |
| 12985 |
|
|
| 12986 |
|
|
| 12987 |
+ |
|
| 12988 |
+ |
fi |
| 12989 |
+ |
|
| 12990 |
+ |
|
| 12991 |
+ |
# Check whether --with-libpcre-path was given. |
| 12992 |
+ |
if test "${with_libpcre_path+set}" = set; then : |
| 12993 |
+ |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12994 |
+ |
fi |
| 12995 |
+ |
|
| 12996 |
+ |
|
| 12997 |
+ |
# Check whether --enable-libpcre was given. |
| 12998 |
+ |
if test "${enable_libpcre+set}" = set; then : |
| 12999 |
+ |
enableval=$enable_libpcre; libpcre=$enableval |
| 13000 |
+ |
else |
| 13001 |
+ |
libpcre=yes |
| 13002 |
+ |
fi |
| 13003 |
+ |
|
| 13004 |
+ |
|
| 13005 |
+ |
if test "$libpcre" = "yes"; then : |
| 13006 |
+ |
|
| 13007 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13008 |
+ |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 13009 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 13010 |
+ |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 13011 |
+ |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 13012 |
+ |
$as_echo_n "(cached) " >&6 |
| 13013 |
+ |
else |
| 13014 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13015 |
+ |
LIBS="-lpcre $LIBS" |
| 13016 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13017 |
+ |
/* end confdefs.h. */ |
| 13018 |
+ |
|
| 13019 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 13020 |
+ |
Use char because int might match the return type of a GCC |
| 13021 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13022 |
+ |
#ifdef __cplusplus |
| 13023 |
+ |
extern "C" |
| 13024 |
+ |
#endif |
| 13025 |
+ |
char pcre_study (); |
| 13026 |
+ |
int |
| 13027 |
+ |
main () |
| 13028 |
+ |
{ |
| 13029 |
+ |
return pcre_study (); |
| 13030 |
+ |
; |
| 13031 |
+ |
return 0; |
| 13032 |
+ |
} |
| 13033 |
+ |
_ACEOF |
| 13034 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 13035 |
+ |
ac_cv_lib_pcre_pcre_study=yes |
| 13036 |
+ |
else |
| 13037 |
+ |
ac_cv_lib_pcre_pcre_study=no |
| 13038 |
+ |
fi |
| 13039 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 13040 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 13041 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 13042 |
+ |
fi |
| 13043 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 13044 |
+ |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 13045 |
+ |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 13046 |
+ |
|
| 13047 |
+ |
LIBS="-lpcre $LIBS" |
| 13048 |
+ |
|
| 13049 |
+ |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13050 |
+ |
|
| 13051 |
+ |
|
| 13052 |
+ |
else |
| 13053 |
+ |
libpcre=no |
| 13054 |
+ |
fi |
| 13055 |
+ |
|
| 13056 |
+ |
|
| 13057 |
+ |
else |
| 13058 |
+ |
libpcre=no |
| 13059 |
|
fi |
| 13060 |
|
|
| 13061 |
|
|
| 13062 |
+ |
|
| 13063 |
+ |
fi |
| 13064 |
+ |
if test "$libpcre" = yes; then |
| 13065 |
+ |
ENABLE_PCRE_TRUE= |
| 13066 |
+ |
ENABLE_PCRE_FALSE='#' |
| 13067 |
+ |
else |
| 13068 |
+ |
ENABLE_PCRE_TRUE='#' |
| 13069 |
+ |
ENABLE_PCRE_FALSE= |
| 13070 |
+ |
fi |
| 13071 |
+ |
|
| 13072 |
+ |
|
| 13073 |
+ |
|
| 13074 |
|
# Check whether --enable-openssl was given. |
| 13075 |
|
if test "${enable_openssl+set}" = set; then : |
| 13076 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13118 |
|
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13119 |
|
|
| 13120 |
|
else |
| 13121 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13122 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 13121 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13122 |
> |
$as_echo "not found. Please check your path." >&6; } |
| 13123 |
|
cf_enable_openssl="no" |
| 13124 |
|
fi |
| 13125 |
|
unset cf_openssl_basedir |
| 13127 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13128 |
|
$as_echo "disabled" >&6; } |
| 13129 |
|
fi |
| 13130 |
+ |
|
| 13131 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
| 13132 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 13133 |
+ |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 13134 |
+ |
if test "$cross_compiling" = yes; then : |
| 13135 |
+ |
cf_openssl_version_ok=no |
| 13136 |
+ |
else |
| 13137 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13138 |
+ |
/* end confdefs.h. */ |
| 13139 |
+ |
|
| 13140 |
+ |
#include <openssl/opensslv.h> |
| 13141 |
+ |
#include <stdlib.h> |
| 13142 |
+ |
int |
| 13143 |
+ |
main () |
| 13144 |
+ |
{ |
| 13145 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13146 |
+ |
; |
| 13147 |
+ |
return 0; |
| 13148 |
+ |
} |
| 13149 |
+ |
_ACEOF |
| 13150 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 13151 |
+ |
cf_openssl_version_ok=yes |
| 13152 |
+ |
else |
| 13153 |
+ |
cf_openssl_version_ok=no |
| 13154 |
+ |
fi |
| 13155 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13156 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13157 |
+ |
fi |
| 13158 |
+ |
|
| 13159 |
+ |
|
| 13160 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 13161 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13162 |
+ |
$as_echo "found" >&6; } |
| 13163 |
+ |
|
| 13164 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13165 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13166 |
+ |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
| 13167 |
+ |
$as_echo_n "(cached) " >&6 |
| 13168 |
+ |
else |
| 13169 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13170 |
+ |
LIBS="-lcrypto $LIBS" |
| 13171 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13172 |
+ |
/* end confdefs.h. */ |
| 13173 |
+ |
|
| 13174 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 13175 |
+ |
Use char because int might match the return type of a GCC |
| 13176 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13177 |
+ |
#ifdef __cplusplus |
| 13178 |
+ |
extern "C" |
| 13179 |
+ |
#endif |
| 13180 |
+ |
char RSA_free (); |
| 13181 |
+ |
int |
| 13182 |
+ |
main () |
| 13183 |
+ |
{ |
| 13184 |
+ |
return RSA_free (); |
| 13185 |
+ |
; |
| 13186 |
+ |
return 0; |
| 13187 |
+ |
} |
| 13188 |
+ |
_ACEOF |
| 13189 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 13190 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
| 13191 |
+ |
else |
| 13192 |
+ |
ac_cv_lib_crypto_RSA_free=no |
| 13193 |
+ |
fi |
| 13194 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 13195 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 13196 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 13197 |
+ |
fi |
| 13198 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13199 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13200 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
| 13201 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13202 |
+ |
#define HAVE_LIBCRYPTO 1 |
| 13203 |
+ |
_ACEOF |
| 13204 |
+ |
|
| 13205 |
+ |
LIBS="-lcrypto $LIBS" |
| 13206 |
+ |
|
| 13207 |
+ |
fi |
| 13208 |
+ |
|
| 13209 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13210 |
+ |
for ac_func in EVP_bf_cfb \ |
| 13211 |
+ |
EVP_cast5_cfb \ |
| 13212 |
+ |
EVP_idea_cfb \ |
| 13213 |
+ |
EVP_rc5_32_12_16_cfb \ |
| 13214 |
+ |
EVP_des_ede3_cfb \ |
| 13215 |
+ |
EVP_des_cfb |
| 13216 |
+ |
do : |
| 13217 |
+ |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13218 |
+ |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13219 |
+ |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13220 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13221 |
+ |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13222 |
+ |
_ACEOF |
| 13223 |
+ |
|
| 13224 |
+ |
fi |
| 13225 |
+ |
done |
| 13226 |
+ |
|
| 13227 |
+ |
fi |
| 13228 |
+ |
|
| 13229 |
+ |
else |
| 13230 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 13231 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 13232 |
+ |
cf_enable_openssl="no" |
| 13233 |
+ |
fi |
| 13234 |
+ |
fi |
| 13235 |
+ |
|
| 13236 |
|
if test "$cf_enable_openssl" = yes; then |
| 13237 |
|
ENABLE_SSL_TRUE= |
| 13238 |
|
ENABLE_SSL_FALSE='#' |
| 13250 |
|
assert=no |
| 13251 |
|
fi |
| 13252 |
|
|
| 13253 |
< |
if test "$assert" = no; then |
| 13253 |
> |
|
| 13254 |
> |
if test "$assert" = "no"; then : |
| 13255 |
|
|
| 13256 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13257 |
|
|
| 13266 |
|
fi |
| 13267 |
|
|
| 13268 |
|
|
| 13269 |
< |
if test "$small_net" = yes; then |
| 13269 |
> |
if test "$small_net" = "yes"; then : |
| 13270 |
> |
|
| 13271 |
|
|
| 13272 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 13273 |
|
|
| 13292 |
|
|
| 13293 |
|
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 13294 |
|
|
| 13295 |
+ |
|
| 13296 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 13297 |
+ |
|
| 13298 |
+ |
|
| 13299 |
+ |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13300 |
+ |
|
| 13301 |
|
else |
| 13302 |
|
|
| 13303 |
+ |
|
| 13304 |
+ |
|
| 13305 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13306 |
|
|
| 13307 |
|
|
| 13325 |
|
|
| 13326 |
|
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13327 |
|
|
| 13328 |
+ |
|
| 13329 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13330 |
+ |
|
| 13331 |
+ |
|
| 13332 |
+ |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13333 |
+ |
|
| 13334 |
|
fi |
| 13335 |
|
|
| 13336 |
|
|
| 13438 |
|
if test "$cross_compiling" = yes; then : |
| 13439 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13440 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13441 |
< |
as_fn_error "cannot run test program while cross compiling |
| 13442 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 13441 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 13442 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 13443 |
|
else |
| 13444 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13445 |
|
/* end confdefs.h. */ |
| 13543 |
|
if test "$cross_compiling" = yes; then : |
| 13544 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13545 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13546 |
< |
as_fn_error "cannot run test program while cross compiling |
| 13547 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 13546 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 13547 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 13548 |
|
else |
| 13549 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13550 |
|
/* end confdefs.h. */ |
| 13693 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 13694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 13695 |
|
$as_echo "none" >&6; } |
| 13696 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
| 13696 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
| 13697 |
|
else |
| 13698 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
| 13699 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 13708 |
|
else |
| 13709 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 13710 |
|
$as_echo "none" >&6; } |
| 13711 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 13711 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 13712 |
|
fi |
| 13713 |
|
fi |
| 13714 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 13744 |
|
|
| 13745 |
|
|
| 13746 |
|
cat >>confdefs.h <<_ACEOF |
| 13747 |
< |
#define TOPICLEN ($topiclen+1) |
| 13747 |
> |
#define TOPICLEN ($topiclen) |
| 13748 |
|
_ACEOF |
| 13749 |
|
|
| 13750 |
|
|
| 13780 |
|
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 13781 |
|
|
| 13782 |
|
else |
| 13567 |
– |
|
| 13568 |
– |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
| 13569 |
– |
|
| 13783 |
|
use_efnet="no" |
| 13784 |
|
fi |
| 13785 |
|
if test "$use_efnet" = "yes"; then |
| 13817 |
|
|
| 13818 |
|
$as_echo "#define DEBUG 1" >>confdefs.h |
| 13819 |
|
|
| 13820 |
< |
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
| 13820 |
> |
CFLAGS="-Wall -g -O0" |
| 13821 |
|
else |
| 13822 |
|
|
| 13823 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13833 |
|
fi |
| 13834 |
|
|
| 13835 |
|
if test "$warnings" = "yes" ; then |
| 13836 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused" |
| 13836 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 13837 |
|
fi |
| 13838 |
|
|
| 13839 |
|
|
| 13841 |
|
do : |
| 13842 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13843 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 13844 |
< |
eval as_val=\$$as_ac_Header |
| 13632 |
< |
if test "x$as_val" = x""yes; then : |
| 13844 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13845 |
|
cat >>confdefs.h <<_ACEOF |
| 13846 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13847 |
|
_ACEOF |
| 13867 |
|
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 13868 |
|
;; |
| 13869 |
|
yes) : ;; |
| 13870 |
< |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 13870 |
> |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 13871 |
|
esac |
| 13872 |
|
done |
| 13873 |
|
|
| 13962 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 13963 |
|
|
| 13964 |
|
|
| 13965 |
< |
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" |
| 13965 |
> |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 13966 |
|
|
| 13967 |
|
|
| 13968 |
|
cat >confcache <<\_ACEOF |
| 14048 |
|
|
| 14049 |
|
ac_libobjs= |
| 14050 |
|
ac_ltlibobjs= |
| 14051 |
+ |
U= |
| 14052 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 14053 |
|
# 1. Remove the extension, and $U if already installed. |
| 14054 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 14072 |
|
fi |
| 14073 |
|
|
| 14074 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 14075 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
| 14075 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 14076 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14077 |
|
fi |
| 14078 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 14079 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
| 14079 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 14080 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14081 |
|
fi |
| 14082 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 14083 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
| 14083 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 14084 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14085 |
|
fi |
| 14086 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
| 14087 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
| 14087 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
| 14088 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14089 |
|
fi |
| 14090 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
| 14091 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
| 14091 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
| 14092 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14093 |
|
fi |
| 14094 |
|
LT_CONFIG_H=config.h |
| 14109 |
|
|
| 14110 |
|
|
| 14111 |
|
|
| 14112 |
< |
if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then |
| 14113 |
< |
as_fn_error "conditional \"HAVE_CRYPT\" was never defined. |
| 14112 |
> |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14113 |
> |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14114 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14115 |
|
fi |
| 14116 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14117 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 14117 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14118 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14119 |
|
fi |
| 14120 |
|
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 14121 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
| 14121 |
> |
as_fn_error $? "conditional \"EFNET\" was never defined. |
| 14122 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14123 |
|
fi |
| 14124 |
|
|
| 14268 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 14269 |
|
|
| 14270 |
|
|
| 14271 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 14272 |
< |
# --------------------------------- |
| 14271 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 14272 |
> |
# ---------------------------------------- |
| 14273 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 14274 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 14275 |
< |
# script with status $?, using 1 if that was 0. |
| 14275 |
> |
# script with STATUS, using 1 if that was 0. |
| 14276 |
|
as_fn_error () |
| 14277 |
|
{ |
| 14278 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 14279 |
< |
if test "$3"; then |
| 14280 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 14281 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 14278 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 14279 |
> |
if test "$4"; then |
| 14280 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 14281 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 14282 |
|
fi |
| 14283 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 14283 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 14284 |
|
as_fn_exit $as_status |
| 14285 |
|
} # as_fn_error |
| 14286 |
|
|
| 14476 |
|
test -d "$as_dir" && break |
| 14477 |
|
done |
| 14478 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 14479 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 14479 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 14480 |
|
|
| 14481 |
|
|
| 14482 |
|
} # as_fn_mkdir_p |
| 14529 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 14530 |
|
# values after options handling. |
| 14531 |
|
ac_log=" |
| 14532 |
< |
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
| 14533 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 14532 |
> |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 14533 |
> |
generated by GNU Autoconf 2.67. Invocation command line was |
| 14534 |
|
|
| 14535 |
|
CONFIG_FILES = $CONFIG_FILES |
| 14536 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 14570 |
|
|
| 14571 |
|
-h, --help print this help, then exit |
| 14572 |
|
-V, --version print version number and configuration settings, then exit |
| 14573 |
+ |
--config print configuration, then exit |
| 14574 |
|
-q, --quiet, --silent |
| 14575 |
|
do not print progress messages |
| 14576 |
|
-d, --debug don't remove temporary files |
| 14589 |
|
Configuration commands: |
| 14590 |
|
$config_commands |
| 14591 |
|
|
| 14592 |
< |
Report bugs to the package provider." |
| 14592 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
| 14593 |
|
|
| 14594 |
|
_ACEOF |
| 14595 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14596 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 14597 |
|
ac_cs_version="\\ |
| 14598 |
< |
ircd-hybrid config.status 7.2.4 |
| 14599 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
| 14600 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14598 |
> |
ircd-hybrid config.status 7.3-rc1 |
| 14599 |
> |
configured by $0, generated by GNU Autoconf 2.67, |
| 14600 |
> |
with options \\"\$ac_cs_config\\" |
| 14601 |
|
|
| 14602 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 14602 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 14603 |
|
This config.status script is free software; the Free Software Foundation |
| 14604 |
|
gives unlimited permission to copy, distribute and modify it." |
| 14605 |
|
|
| 14617 |
|
while test $# != 0 |
| 14618 |
|
do |
| 14619 |
|
case $1 in |
| 14620 |
< |
--*=*) |
| 14620 |
> |
--*=?*) |
| 14621 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 14622 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 14623 |
|
ac_shift=: |
| 14624 |
|
;; |
| 14625 |
+ |
--*=) |
| 14626 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 14627 |
+ |
ac_optarg= |
| 14628 |
+ |
ac_shift=: |
| 14629 |
+ |
;; |
| 14630 |
|
*) |
| 14631 |
|
ac_option=$1 |
| 14632 |
|
ac_optarg=$2 |
| 14640 |
|
ac_cs_recheck=: ;; |
| 14641 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14642 |
|
$as_echo "$ac_cs_version"; exit ;; |
| 14643 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
| 14644 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
| 14645 |
|
--debug | --debu | --deb | --de | --d | -d ) |
| 14646 |
|
debug=: ;; |
| 14647 |
|
--file | --fil | --fi | --f ) |
| 14648 |
|
$ac_shift |
| 14649 |
|
case $ac_optarg in |
| 14650 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14651 |
+ |
'') as_fn_error $? "missing file argument" ;; |
| 14652 |
|
esac |
| 14653 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 14654 |
|
ac_need_defaults=false;; |
| 14661 |
|
ac_need_defaults=false;; |
| 14662 |
|
--he | --h) |
| 14663 |
|
# Conflict between --help and --header |
| 14664 |
< |
as_fn_error "ambiguous option: \`$1' |
| 14664 |
> |
as_fn_error $? "ambiguous option: \`$1' |
| 14665 |
|
Try \`$0 --help' for more information.";; |
| 14666 |
|
--help | --hel | -h ) |
| 14667 |
|
$as_echo "$ac_cs_usage"; exit ;; |
| 14670 |
|
ac_cs_silent=: ;; |
| 14671 |
|
|
| 14672 |
|
# This is an error. |
| 14673 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
| 14673 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
| 14674 |
|
Try \`$0 --help' for more information." ;; |
| 14675 |
|
|
| 14676 |
|
*) as_fn_append ac_config_targets " $1" |
| 14724 |
|
sed_quote_subst='$sed_quote_subst' |
| 14725 |
|
double_quote_subst='$double_quote_subst' |
| 14726 |
|
delay_variable_subst='$delay_variable_subst' |
| 14727 |
< |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
| 14728 |
< |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
| 14729 |
< |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14730 |
< |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14731 |
< |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
| 14732 |
< |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
| 14733 |
< |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
| 14734 |
< |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
| 14735 |
< |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
| 14736 |
< |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
| 14737 |
< |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
| 14738 |
< |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
| 14739 |
< |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
| 14740 |
< |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
| 14741 |
< |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14742 |
< |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14743 |
< |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14744 |
< |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
| 14745 |
< |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
| 14746 |
< |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
| 14747 |
< |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
| 14748 |
< |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
| 14749 |
< |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
| 14750 |
< |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
| 14751 |
< |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
| 14752 |
< |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14753 |
< |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
| 14754 |
< |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14755 |
< |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14756 |
< |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
| 14757 |
< |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
| 14758 |
< |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
| 14759 |
< |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
| 14760 |
< |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
| 14761 |
< |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
| 14762 |
< |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14763 |
< |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14764 |
< |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14765 |
< |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
| 14766 |
< |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
| 14767 |
< |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
| 14768 |
< |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
| 14769 |
< |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
| 14770 |
< |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
| 14771 |
< |
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"`' |
| 14772 |
< |
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"`' |
| 14773 |
< |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
| 14774 |
< |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
| 14775 |
< |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
| 14776 |
< |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
| 14777 |
< |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
| 14778 |
< |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
| 14779 |
< |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
| 14780 |
< |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14781 |
< |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
| 14782 |
< |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
| 14783 |
< |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
| 14784 |
< |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
| 14785 |
< |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
| 14786 |
< |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
| 14787 |
< |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
| 14788 |
< |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
| 14789 |
< |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14790 |
< |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14791 |
< |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
| 14792 |
< |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
| 14793 |
< |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14794 |
< |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14795 |
< |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
| 14796 |
< |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14797 |
< |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14798 |
< |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14799 |
< |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14800 |
< |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14801 |
< |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14802 |
< |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
| 14803 |
< |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
| 14804 |
< |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
| 14805 |
< |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14806 |
< |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
| 14807 |
< |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
| 14808 |
< |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
| 14809 |
< |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
| 14810 |
< |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
| 14811 |
< |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
| 14812 |
< |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
| 14813 |
< |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
| 14814 |
< |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
| 14815 |
< |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
| 14816 |
< |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
| 14817 |
< |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14818 |
< |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
| 14819 |
< |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
| 14820 |
< |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14821 |
< |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14822 |
< |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
| 14823 |
< |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
| 14824 |
< |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
| 14825 |
< |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
| 14826 |
< |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
| 14827 |
< |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
| 14828 |
< |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
| 14829 |
< |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14830 |
< |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14831 |
< |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14832 |
< |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14833 |
< |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14834 |
< |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
| 14835 |
< |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
| 14836 |
< |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
| 14837 |
< |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14838 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
| 14839 |
< |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
| 14840 |
< |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
| 14841 |
< |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
| 14842 |
< |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14843 |
< |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
| 14844 |
< |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
| 14727 |
> |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 14728 |
> |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 14729 |
> |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 14730 |
> |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 14731 |
> |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 14732 |
> |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 14733 |
> |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 14734 |
> |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 14735 |
> |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 14736 |
> |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 14737 |
> |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 14738 |
> |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 14739 |
> |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 14740 |
> |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 14741 |
> |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 14742 |
> |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 14743 |
> |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 14744 |
> |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 14745 |
> |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 14746 |
> |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 14747 |
> |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 14748 |
> |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 14749 |
> |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 14750 |
> |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 14751 |
> |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 14752 |
> |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 14753 |
> |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 14754 |
> |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 14755 |
> |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 14756 |
> |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 14757 |
> |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 14758 |
> |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 14759 |
> |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 14760 |
> |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 14761 |
> |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 14762 |
> |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 14763 |
> |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 14764 |
> |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 14765 |
> |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 14766 |
> |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 14767 |
> |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 14768 |
> |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 14769 |
> |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 14770 |
> |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 14771 |
> |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 14772 |
> |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 14773 |
> |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 14774 |
> |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 14775 |
> |
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"`' |
| 14776 |
> |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 14777 |
> |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 14778 |
> |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 14779 |
> |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 14780 |
> |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 14781 |
> |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 14782 |
> |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 14783 |
> |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 14784 |
> |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 14785 |
> |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 14786 |
> |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 14787 |
> |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 14788 |
> |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 14789 |
> |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 14790 |
> |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 14791 |
> |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 14792 |
> |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 14793 |
> |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 14794 |
> |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 14795 |
> |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 14796 |
> |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 14797 |
> |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 14798 |
> |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 14799 |
> |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 14800 |
> |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 14801 |
> |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 14802 |
> |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 14803 |
> |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 14804 |
> |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 14805 |
> |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 14806 |
> |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 14807 |
> |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
| 14808 |
> |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 14809 |
> |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 14810 |
> |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 14811 |
> |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 14812 |
> |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 14813 |
> |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 14814 |
> |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 14815 |
> |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 14816 |
> |
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
| 14817 |
> |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 14818 |
> |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 14819 |
> |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 14820 |
> |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 14821 |
> |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 14822 |
> |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 14823 |
> |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 14824 |
> |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 14825 |
> |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 14826 |
> |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 14827 |
> |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 14828 |
> |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 14829 |
> |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 14830 |
> |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 14831 |
> |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 14832 |
> |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 14833 |
> |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 14834 |
> |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 14835 |
> |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 14836 |
> |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 14837 |
> |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 14838 |
> |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 14839 |
> |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 14840 |
> |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 14841 |
> |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 14842 |
> |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 14843 |
> |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 14844 |
> |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 14845 |
> |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 14846 |
> |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 14847 |
|
|
| 14848 |
|
LTCC='$LTCC' |
| 14849 |
|
LTCFLAGS='$LTCFLAGS' |
| 14850 |
|
compiler='$compiler_DEFAULT' |
| 14851 |
|
|
| 14852 |
+ |
# A function that is used when there is no print builtin or printf. |
| 14853 |
+ |
func_fallback_echo () |
| 14854 |
+ |
{ |
| 14855 |
+ |
eval 'cat <<_LTECHO_EOF |
| 14856 |
+ |
\$1 |
| 14857 |
+ |
_LTECHO_EOF' |
| 14858 |
+ |
} |
| 14859 |
+ |
|
| 14860 |
|
# Quote evaled strings. |
| 14861 |
< |
for var in SED \ |
| 14861 |
> |
for var in SHELL \ |
| 14862 |
> |
ECHO \ |
| 14863 |
> |
SED \ |
| 14864 |
|
GREP \ |
| 14865 |
|
EGREP \ |
| 14866 |
|
FGREP \ |
| 14884 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
| 14885 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
| 14886 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 14652 |
– |
SHELL \ |
| 14653 |
– |
ECHO \ |
| 14887 |
|
lt_prog_compiler_no_builtin_flag \ |
| 14888 |
|
lt_prog_compiler_wl \ |
| 14889 |
|
lt_prog_compiler_pic \ |
| 14913 |
|
libname_spec \ |
| 14914 |
|
library_names_spec \ |
| 14915 |
|
soname_spec \ |
| 14916 |
+ |
install_override_mode \ |
| 14917 |
|
finish_eval \ |
| 14918 |
|
old_striplib \ |
| 14919 |
|
striplib; do |
| 14920 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 14920 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 14921 |
|
*[\\\\\\\`\\"\\\$]*) |
| 14922 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 14922 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 14923 |
|
;; |
| 14924 |
|
*) |
| 14925 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 14946 |
|
finish_cmds \ |
| 14947 |
|
sys_lib_search_path_spec \ |
| 14948 |
|
sys_lib_dlsearch_path_spec; do |
| 14949 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 14949 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 14950 |
|
*[\\\\\\\`\\"\\\$]*) |
| 14951 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 14951 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 14952 |
|
;; |
| 14953 |
|
*) |
| 14954 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 14956 |
|
esac |
| 14957 |
|
done |
| 14958 |
|
|
| 14725 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
| 14726 |
– |
case \$lt_ECHO in |
| 14727 |
– |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
| 14728 |
– |
;; |
| 14729 |
– |
esac |
| 14730 |
– |
|
| 14959 |
|
ac_aux_dir='$ac_aux_dir' |
| 14960 |
|
xsi_shell='$xsi_shell' |
| 14961 |
|
lt_shell_append='$lt_shell_append' |
| 14989 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 14990 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 14991 |
|
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 14764 |
– |
"etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;; |
| 14765 |
– |
"etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;; |
| 14766 |
– |
"etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;; |
| 14992 |
|
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 14993 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 14994 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 14995 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 14996 |
+ |
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 14997 |
|
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 14998 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 14999 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 15001 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15002 |
|
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15003 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 14778 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| 14779 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
| 15004 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 15005 |
|
|
| 15006 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15006 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15007 |
|
esac |
| 15008 |
|
done |
| 15009 |
|
|
| 15041 |
|
{ |
| 15042 |
|
tmp=./conf$$-$RANDOM |
| 15043 |
|
(umask 077 && mkdir "$tmp") |
| 15044 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 15044 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 15045 |
|
|
| 15046 |
|
# Set up the scripts for CONFIG_FILES section. |
| 15047 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 15058 |
|
fi |
| 15059 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 15060 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 15061 |
< |
ac_cs_awk_cr='\r' |
| 15061 |
> |
ac_cs_awk_cr='\\r' |
| 15062 |
|
else |
| 15063 |
|
ac_cs_awk_cr=$ac_cr |
| 15064 |
|
fi |
| 15072 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 15073 |
|
echo "_ACEOF" |
| 15074 |
|
} >conf$$subs.sh || |
| 15075 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15076 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 15075 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15076 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 15077 |
|
ac_delim='%!_!# ' |
| 15078 |
|
for ac_last_try in false false false false false :; do |
| 15079 |
|
. ./conf$$subs.sh || |
| 15080 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15080 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15081 |
|
|
| 15082 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 15083 |
|
if test $ac_delim_n = $ac_delim_num; then |
| 15084 |
|
break |
| 15085 |
|
elif $ac_last_try; then |
| 15086 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15086 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15087 |
|
else |
| 15088 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15089 |
|
fi |
| 15105 |
|
t delim |
| 15106 |
|
:nl |
| 15107 |
|
h |
| 15108 |
< |
s/\(.\{148\}\).*/\1/ |
| 15108 |
> |
s/\(.\{148\}\)..*/\1/ |
| 15109 |
|
t more1 |
| 15110 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 15111 |
|
p |
| 15119 |
|
t nl |
| 15120 |
|
:delim |
| 15121 |
|
h |
| 15122 |
< |
s/\(.\{148\}\).*/\1/ |
| 15122 |
> |
s/\(.\{148\}\)..*/\1/ |
| 15123 |
|
t more2 |
| 15124 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 15125 |
|
p |
| 15172 |
|
else |
| 15173 |
|
cat |
| 15174 |
|
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 15175 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 15175 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 15176 |
|
_ACEOF |
| 15177 |
|
|
| 15178 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 15179 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 15178 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 15179 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 15180 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 15181 |
|
# (actually we leave an empty line to preserve line numbers). |
| 15182 |
|
if test "x$srcdir" = x.; then |
| 15183 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 15184 |
< |
s/:*\$(srcdir):*/:/ |
| 15185 |
< |
s/:*\${srcdir}:*/:/ |
| 15186 |
< |
s/:*@srcdir@:*/:/ |
| 15187 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
| 15183 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 15184 |
> |
h |
| 15185 |
> |
s/// |
| 15186 |
> |
s/^/:/ |
| 15187 |
> |
s/[ ]*$/:/ |
| 15188 |
> |
s/:\$(srcdir):/:/g |
| 15189 |
> |
s/:\${srcdir}:/:/g |
| 15190 |
> |
s/:@srcdir@:/:/g |
| 15191 |
> |
s/^:*// |
| 15192 |
|
s/:*$// |
| 15193 |
+ |
x |
| 15194 |
+ |
s/\(=[ ]*\).*/\1/ |
| 15195 |
+ |
G |
| 15196 |
+ |
s/\n// |
| 15197 |
|
s/^[^=]*=[ ]*$// |
| 15198 |
|
}' |
| 15199 |
|
fi |
| 15221 |
|
if test -z "$ac_t"; then |
| 15222 |
|
break |
| 15223 |
|
elif $ac_last_try; then |
| 15224 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 15224 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 15225 |
|
else |
| 15226 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15227 |
|
fi |
| 15306 |
|
_ACAWK |
| 15307 |
|
_ACEOF |
| 15308 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 15309 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 15309 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 15310 |
|
fi # test -n "$CONFIG_HEADERS" |
| 15311 |
|
|
| 15312 |
|
|
| 15319 |
|
esac |
| 15320 |
|
case $ac_mode$ac_tag in |
| 15321 |
|
:[FHL]*:*);; |
| 15322 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 15322 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 15323 |
|
:[FH]-) ac_tag=-:-;; |
| 15324 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 15325 |
|
esac |
| 15347 |
|
[\\/$]*) false;; |
| 15348 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 15349 |
|
esac || |
| 15350 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 15350 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 15351 |
|
esac |
| 15352 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 15353 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 15374 |
|
|
| 15375 |
|
case $ac_tag in |
| 15376 |
|
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 15377 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 15377 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 15378 |
|
esac |
| 15379 |
|
;; |
| 15380 |
|
esac |
| 15511 |
|
$ac_datarootdir_hack |
| 15512 |
|
" |
| 15513 |
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 15514 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15514 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 15515 |
|
|
| 15516 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 15517 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 15518 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 15519 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15520 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
| 15520 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
| 15521 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15522 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 15522 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 15523 |
|
|
| 15524 |
|
rm -f "$tmp/stdin" |
| 15525 |
|
case $ac_file in |
| 15526 |
|
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 15527 |
|
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 15528 |
|
esac \ |
| 15529 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15529 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 15530 |
|
;; |
| 15531 |
|
:H) |
| 15532 |
|
# |
| 15537 |
|
$as_echo "/* $configure_input */" \ |
| 15538 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 15539 |
|
} >"$tmp/config.h" \ |
| 15540 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15540 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 15541 |
|
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 15542 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 15543 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 15544 |
|
else |
| 15545 |
|
rm -f "$ac_file" |
| 15546 |
|
mv "$tmp/config.h" "$ac_file" \ |
| 15547 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15547 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 15548 |
|
fi |
| 15549 |
|
else |
| 15550 |
|
$as_echo "/* $configure_input */" \ |
| 15551 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 15552 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
| 15552 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 15553 |
|
fi |
| 15554 |
|
# Compute "$ac_file"'s index in $config_headers. |
| 15555 |
|
_am_arg="$ac_file" |
| 15710 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 15711 |
|
# |
| 15712 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 15713 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
| 15713 |
> |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 15714 |
> |
# Inc. |
| 15715 |
|
# Written by Gordon Matzigkeit, 1996 |
| 15716 |
|
# |
| 15717 |
|
# This file is part of GNU Libtool. |
| 15747 |
|
macro_version=$macro_version |
| 15748 |
|
macro_revision=$macro_revision |
| 15749 |
|
|
| 15517 |
– |
# Whether or not to build shared libraries. |
| 15518 |
– |
build_libtool_libs=$enable_shared |
| 15519 |
– |
|
| 15750 |
|
# Whether or not to build static libraries. |
| 15751 |
|
build_old_libs=$enable_static |
| 15752 |
|
|
| 15753 |
+ |
# Whether or not to build shared libraries. |
| 15754 |
+ |
build_libtool_libs=$enable_shared |
| 15755 |
+ |
|
| 15756 |
|
# What type of objects to build. |
| 15757 |
|
pic_mode=$pic_mode |
| 15758 |
|
|
| 15759 |
|
# Whether or not to optimize for fast installation. |
| 15760 |
|
fast_install=$enable_fast_install |
| 15761 |
|
|
| 15762 |
+ |
# Shell to use when invoking shell scripts. |
| 15763 |
+ |
SHELL=$lt_SHELL |
| 15764 |
+ |
|
| 15765 |
+ |
# An echo program that protects backslashes. |
| 15766 |
+ |
ECHO=$lt_ECHO |
| 15767 |
+ |
|
| 15768 |
|
# The host system. |
| 15769 |
|
host_alias=$host_alias |
| 15770 |
|
host=$host |
| 15814 |
|
# turn newlines into spaces. |
| 15815 |
|
NL2SP=$lt_lt_NL2SP |
| 15816 |
|
|
| 15578 |
– |
# How to create reloadable object files. |
| 15579 |
– |
reload_flag=$lt_reload_flag |
| 15580 |
– |
reload_cmds=$lt_reload_cmds |
| 15581 |
– |
|
| 15817 |
|
# An object symbol dumper. |
| 15818 |
|
OBJDUMP=$lt_OBJDUMP |
| 15819 |
|
|
| 15835 |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
| 15836 |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 15837 |
|
|
| 15838 |
+ |
# Whether to use a lock for old archive extraction. |
| 15839 |
+ |
lock_old_archive_extraction=$lock_old_archive_extraction |
| 15840 |
+ |
|
| 15841 |
|
# A C compiler. |
| 15842 |
|
LTCC=$lt_CC |
| 15843 |
|
|
| 15859 |
|
# The name of the directory that contains temporary libtool files. |
| 15860 |
|
objdir=$objdir |
| 15861 |
|
|
| 15624 |
– |
# Shell to use when invoking shell scripts. |
| 15625 |
– |
SHELL=$lt_SHELL |
| 15626 |
– |
|
| 15627 |
– |
# An echo program that does not interpret backslashes. |
| 15628 |
– |
ECHO=$lt_ECHO |
| 15629 |
– |
|
| 15862 |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
| 15863 |
|
MAGIC_CMD=$MAGIC_CMD |
| 15864 |
|
|
| 15921 |
|
# The coded name of the library, if different from the real name. |
| 15922 |
|
soname_spec=$lt_soname_spec |
| 15923 |
|
|
| 15924 |
+ |
# Permission mode override for installation of shared libraries. |
| 15925 |
+ |
install_override_mode=$lt_install_override_mode |
| 15926 |
+ |
|
| 15927 |
|
# Command to use after installation of a shared archive. |
| 15928 |
|
postinstall_cmds=$lt_postinstall_cmds |
| 15929 |
|
|
| 15963 |
|
# The linker used to build libraries. |
| 15964 |
|
LD=$lt_LD |
| 15965 |
|
|
| 15966 |
+ |
# How to create reloadable object files. |
| 15967 |
+ |
reload_flag=$lt_reload_flag |
| 15968 |
+ |
reload_cmds=$lt_reload_cmds |
| 15969 |
+ |
|
| 15970 |
|
# Commands used to build an old-style archive. |
| 15971 |
|
old_archive_cmds=$lt_old_archive_cmds |
| 15972 |
|
|
| 16226 |
|
func_dirname () |
| 16227 |
|
{ |
| 16228 |
|
# Extract subdirectory from the argument. |
| 16229 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
| 16229 |
> |
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 16230 |
|
if test "X$func_dirname_result" = "X${1}"; then |
| 16231 |
|
func_dirname_result="${3}" |
| 16232 |
|
else |
| 16237 |
|
# func_basename file |
| 16238 |
|
func_basename () |
| 16239 |
|
{ |
| 16240 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
| 16240 |
> |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 16241 |
|
} |
| 16242 |
|
|
| 16243 |
|
|
| 16250 |
|
func_stripname () |
| 16251 |
|
{ |
| 16252 |
|
case ${2} in |
| 16253 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
| 16254 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
| 16016 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
| 16017 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
| 16253 |
> |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 16254 |
> |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 16255 |
|
esac |
| 16256 |
|
} |
| 16257 |
|
|
| 16262 |
|
# func_opt_split |
| 16263 |
|
func_opt_split () |
| 16264 |
|
{ |
| 16265 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
| 16266 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
| 16265 |
> |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 16266 |
> |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 16267 |
|
} |
| 16268 |
|
|
| 16269 |
|
# func_lo2o object |
| 16270 |
|
func_lo2o () |
| 16271 |
|
{ |
| 16272 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
| 16272 |
> |
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 16273 |
|
} |
| 16274 |
|
|
| 16275 |
|
# func_xform libobj-or-source |
| 16276 |
|
func_xform () |
| 16277 |
|
{ |
| 16278 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
| 16278 |
> |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
| 16279 |
|
} |
| 16280 |
|
|
| 16281 |
|
# func_arith arithmetic-term... |
| 16339 |
|
ac_clean_files=$ac_clean_files_save |
| 16340 |
|
|
| 16341 |
|
test $ac_write_fail = 0 || |
| 16342 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 16342 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 16343 |
|
|
| 16344 |
|
|
| 16345 |
|
# configure is writing to config.log, and then calls config.status. |
| 16360 |
|
exec 5>>config.log |
| 16361 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 16362 |
|
# would make configure fail if this is the last instruction. |
| 16363 |
< |
$ac_cs_success || as_fn_exit $? |
| 16127 |
< |
fi |
| 16128 |
< |
|
| 16129 |
< |
# |
| 16130 |
< |
# CONFIG_SUBDIRS section. |
| 16131 |
< |
# |
| 16132 |
< |
if test "$no_recursion" != yes; then |
| 16133 |
< |
|
| 16134 |
< |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
| 16135 |
< |
# so they do not pile up. |
| 16136 |
< |
ac_sub_configure_args= |
| 16137 |
< |
ac_prev= |
| 16138 |
< |
eval "set x $ac_configure_args" |
| 16139 |
< |
shift |
| 16140 |
< |
for ac_arg |
| 16141 |
< |
do |
| 16142 |
< |
if test -n "$ac_prev"; then |
| 16143 |
< |
ac_prev= |
| 16144 |
< |
continue |
| 16145 |
< |
fi |
| 16146 |
< |
case $ac_arg in |
| 16147 |
< |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 16148 |
< |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 16149 |
< |
ac_prev=cache_file ;; |
| 16150 |
< |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 16151 |
< |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
| 16152 |
< |
| --c=*) |
| 16153 |
< |
;; |
| 16154 |
< |
--config-cache | -C) |
| 16155 |
< |
;; |
| 16156 |
< |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 16157 |
< |
ac_prev=srcdir ;; |
| 16158 |
< |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 16159 |
< |
;; |
| 16160 |
< |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 16161 |
< |
ac_prev=prefix ;; |
| 16162 |
< |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 16163 |
< |
;; |
| 16164 |
< |
--disable-option-checking) |
| 16165 |
< |
;; |
| 16166 |
< |
*) |
| 16167 |
< |
case $ac_arg in |
| 16168 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16169 |
< |
esac |
| 16170 |
< |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
| 16171 |
< |
esac |
| 16172 |
< |
done |
| 16173 |
< |
|
| 16174 |
< |
# Always prepend --prefix to ensure using the same prefix |
| 16175 |
< |
# in subdir configurations. |
| 16176 |
< |
ac_arg="--prefix=$prefix" |
| 16177 |
< |
case $ac_arg in |
| 16178 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16179 |
< |
esac |
| 16180 |
< |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
| 16181 |
< |
|
| 16182 |
< |
# Pass --silent |
| 16183 |
< |
if test "$silent" = yes; then |
| 16184 |
< |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
| 16185 |
< |
fi |
| 16186 |
< |
|
| 16187 |
< |
# Always prepend --disable-option-checking to silence warnings, since |
| 16188 |
< |
# different subdirs can have different --enable and --with options. |
| 16189 |
< |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
| 16190 |
< |
|
| 16191 |
< |
ac_popdir=`pwd` |
| 16192 |
< |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
| 16193 |
< |
|
| 16194 |
< |
# Do not complain, so a configure script can configure whichever |
| 16195 |
< |
# parts of a large source tree are present. |
| 16196 |
< |
test -d "$srcdir/$ac_dir" || continue |
| 16197 |
< |
|
| 16198 |
< |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
| 16199 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
| 16200 |
< |
$as_echo "$ac_msg" >&6 |
| 16201 |
< |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 16202 |
< |
ac_builddir=. |
| 16203 |
< |
|
| 16204 |
< |
case "$ac_dir" in |
| 16205 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 16206 |
< |
*) |
| 16207 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 16208 |
< |
# A ".." for each directory in $ac_dir_suffix. |
| 16209 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 16210 |
< |
case $ac_top_builddir_sub in |
| 16211 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 16212 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 16213 |
< |
esac ;; |
| 16214 |
< |
esac |
| 16215 |
< |
ac_abs_top_builddir=$ac_pwd |
| 16216 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 16217 |
< |
# for backward compatibility: |
| 16218 |
< |
ac_top_builddir=$ac_top_build_prefix |
| 16219 |
< |
|
| 16220 |
< |
case $srcdir in |
| 16221 |
< |
.) # We are building in place. |
| 16222 |
< |
ac_srcdir=. |
| 16223 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
| 16224 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
| 16225 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 16226 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 16227 |
< |
ac_top_srcdir=$srcdir |
| 16228 |
< |
ac_abs_top_srcdir=$srcdir ;; |
| 16229 |
< |
*) # Relative name. |
| 16230 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 16231 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 16232 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 16233 |
< |
esac |
| 16234 |
< |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 16235 |
< |
|
| 16236 |
< |
|
| 16237 |
< |
cd "$ac_dir" |
| 16238 |
< |
|
| 16239 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
| 16240 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
| 16241 |
< |
ac_sub_configure=$ac_srcdir/configure.gnu |
| 16242 |
< |
elif test -f "$ac_srcdir/configure"; then |
| 16243 |
< |
ac_sub_configure=$ac_srcdir/configure |
| 16244 |
< |
elif test -f "$ac_srcdir/configure.in"; then |
| 16245 |
< |
# This should be Cygnus configure. |
| 16246 |
< |
ac_sub_configure=$ac_aux_dir/configure |
| 16247 |
< |
else |
| 16248 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
| 16249 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
| 16250 |
< |
ac_sub_configure= |
| 16251 |
< |
fi |
| 16252 |
< |
|
| 16253 |
< |
# The recursion is here. |
| 16254 |
< |
if test -n "$ac_sub_configure"; then |
| 16255 |
< |
# Make the cache file name correct relative to the subdirectory. |
| 16256 |
< |
case $cache_file in |
| 16257 |
< |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
| 16258 |
< |
*) # Relative name. |
| 16259 |
< |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
| 16260 |
< |
esac |
| 16261 |
< |
|
| 16262 |
< |
{ $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 |
| 16263 |
< |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| 16264 |
< |
# The eval makes quoting arguments work. |
| 16265 |
< |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
| 16266 |
< |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
| 16267 |
< |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
| 16268 |
< |
fi |
| 16269 |
< |
|
| 16270 |
< |
cd "$ac_popdir" |
| 16271 |
< |
done |
| 16363 |
> |
$ac_cs_success || as_fn_exit 1 |
| 16364 |
|
fi |
| 16365 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 16366 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |