| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1456 2012-07-02 18:21:40Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta2. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 8 |
|
# |
| 9 |
< |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 11 |
< |
# Inc. |
| 9 |
> |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 10 |
|
# |
| 11 |
|
# |
| 12 |
|
# This configure script is free software; the Free Software Foundation |
| 90 |
|
IFS=" "" $as_nl" |
| 91 |
|
|
| 92 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 93 |
+ |
as_myself= |
| 94 |
|
case $0 in #(( |
| 95 |
|
*[\\/]* ) as_myself=$0 ;; |
| 96 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 135 |
|
# CDPATH. |
| 136 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 137 |
|
|
| 138 |
+ |
# Use a proper internal environment variable to ensure we don't fall |
| 139 |
+ |
# into an infinite loop, continuously re-executing ourselves. |
| 140 |
+ |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 141 |
+ |
_as_can_reexec=no; export _as_can_reexec; |
| 142 |
+ |
# We cannot yet assume a decent shell, so we have to provide a |
| 143 |
+ |
# neutralization value for shells without unset; and this also |
| 144 |
+ |
# works around shells that cannot unset nonexistent variables. |
| 145 |
+ |
# Preserve -v and -x to the replacement shell. |
| 146 |
+ |
BASH_ENV=/dev/null |
| 147 |
+ |
ENV=/dev/null |
| 148 |
+ |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 149 |
+ |
case $- in # (((( |
| 150 |
+ |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 151 |
+ |
*v* ) as_opts=-v ;; |
| 152 |
+ |
*x* ) as_opts=-x ;; |
| 153 |
+ |
* ) as_opts= ;; |
| 154 |
+ |
esac |
| 155 |
+ |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 156 |
+ |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 157 |
+ |
# out after a failed `exec'. |
| 158 |
+ |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 159 |
+ |
as_fn_exit 255 |
| 160 |
+ |
fi |
| 161 |
+ |
# We don't want this to propagate to other subprocesses. |
| 162 |
+ |
{ _as_can_reexec=; unset _as_can_reexec;} |
| 163 |
|
if test "x$CONFIG_SHELL" = x; then |
| 164 |
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 165 |
|
emulate sh |
| 193 |
|
else |
| 194 |
|
exitcode=1; echo positional parameters were not saved. |
| 195 |
|
fi |
| 196 |
< |
test x\$exitcode = x0 || exit 1" |
| 196 |
> |
test x\$exitcode = x0 || exit 1 |
| 197 |
> |
test -x / || exit 1" |
| 198 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 199 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 200 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 247 |
|
|
| 248 |
|
|
| 249 |
|
if test "x$CONFIG_SHELL" != x; then : |
| 250 |
< |
# We cannot yet assume a decent shell, so we have to provide a |
| 251 |
< |
# neutralization value for shells without unset; and this also |
| 252 |
< |
# works around shells that cannot unset nonexistent variables. |
| 253 |
< |
BASH_ENV=/dev/null |
| 254 |
< |
ENV=/dev/null |
| 255 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 256 |
< |
export CONFIG_SHELL |
| 257 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 250 |
> |
export CONFIG_SHELL |
| 251 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
| 252 |
> |
# neutralization value for shells without unset; and this also |
| 253 |
> |
# works around shells that cannot unset nonexistent variables. |
| 254 |
> |
# Preserve -v and -x to the replacement shell. |
| 255 |
> |
BASH_ENV=/dev/null |
| 256 |
> |
ENV=/dev/null |
| 257 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 258 |
> |
case $- in # (((( |
| 259 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 260 |
> |
*v* ) as_opts=-v ;; |
| 261 |
> |
*x* ) as_opts=-x ;; |
| 262 |
> |
* ) as_opts= ;; |
| 263 |
> |
esac |
| 264 |
> |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 265 |
> |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 266 |
> |
# out after a failed `exec'. |
| 267 |
> |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 268 |
> |
exit 255 |
| 269 |
|
fi |
| 270 |
|
|
| 271 |
|
if test x$as_have_required = xno; then : |
| 364 |
|
test -d "$as_dir" && break |
| 365 |
|
done |
| 366 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 367 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 367 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 368 |
|
|
| 369 |
|
|
| 370 |
|
} # as_fn_mkdir_p |
| 371 |
+ |
|
| 372 |
+ |
# as_fn_executable_p FILE |
| 373 |
+ |
# ----------------------- |
| 374 |
+ |
# Test if FILE is an executable regular file. |
| 375 |
+ |
as_fn_executable_p () |
| 376 |
+ |
{ |
| 377 |
+ |
test -f "$1" && test -x "$1" |
| 378 |
+ |
} # as_fn_executable_p |
| 379 |
|
# as_fn_append VAR VALUE |
| 380 |
|
# ---------------------- |
| 381 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 412 |
|
fi # as_fn_arith |
| 413 |
|
|
| 414 |
|
|
| 415 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 416 |
< |
# --------------------------------- |
| 415 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 416 |
> |
# ---------------------------------------- |
| 417 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 418 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 419 |
< |
# script with status $?, using 1 if that was 0. |
| 419 |
> |
# script with STATUS, using 1 if that was 0. |
| 420 |
|
as_fn_error () |
| 421 |
|
{ |
| 422 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 423 |
< |
if test "$3"; then |
| 424 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 425 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 422 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 423 |
> |
if test "$4"; then |
| 424 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 425 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 426 |
|
fi |
| 427 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 427 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 428 |
|
as_fn_exit $as_status |
| 429 |
|
} # as_fn_error |
| 430 |
|
|
| 497 |
|
chmod +x "$as_me.lineno" || |
| 498 |
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 499 |
|
|
| 500 |
+ |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 501 |
+ |
# already done that, so ensure we don't try to do so again and fall |
| 502 |
+ |
# in an infinite loop. This has already happened in practice. |
| 503 |
+ |
_as_can_reexec=no; export _as_can_reexec |
| 504 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 505 |
|
# (the dirname of $[0] is not the place where we might find the |
| 506 |
|
# original and so on. Autoconf is especially sensitive to this). |
| 535 |
|
# ... but there are two gotchas: |
| 536 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 537 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 538 |
< |
# In both cases, we have to default to `cp -p'. |
| 538 |
> |
# In both cases, we have to default to `cp -pR'. |
| 539 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 540 |
< |
as_ln_s='cp -p' |
| 540 |
> |
as_ln_s='cp -pR' |
| 541 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 542 |
|
as_ln_s=ln |
| 543 |
|
else |
| 544 |
< |
as_ln_s='cp -p' |
| 544 |
> |
as_ln_s='cp -pR' |
| 545 |
|
fi |
| 546 |
|
else |
| 547 |
< |
as_ln_s='cp -p' |
| 547 |
> |
as_ln_s='cp -pR' |
| 548 |
|
fi |
| 549 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 550 |
|
rmdir conf$$.dir 2>/dev/null |
| 556 |
|
as_mkdir_p=false |
| 557 |
|
fi |
| 558 |
|
|
| 559 |
< |
if test -x / >/dev/null 2>&1; then |
| 560 |
< |
as_test_x='test -x' |
| 513 |
< |
else |
| 514 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 515 |
< |
as_ls_L_option=L |
| 516 |
< |
else |
| 517 |
< |
as_ls_L_option= |
| 518 |
< |
fi |
| 519 |
< |
as_test_x=' |
| 520 |
< |
eval sh -c '\'' |
| 521 |
< |
if test -d "$1"; then |
| 522 |
< |
test -d "$1/."; |
| 523 |
< |
else |
| 524 |
< |
case $1 in #( |
| 525 |
< |
-*)set "./$1";; |
| 526 |
< |
esac; |
| 527 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 528 |
< |
???[sx]*):;;*)false;;esac;fi |
| 529 |
< |
'\'' sh |
| 530 |
< |
' |
| 531 |
< |
fi |
| 532 |
< |
as_executable_p=$as_test_x |
| 559 |
> |
as_test_x='test -x' |
| 560 |
> |
as_executable_p=as_fn_executable_p |
| 561 |
|
|
| 562 |
|
# Sed expression to map a string onto a valid CPP name. |
| 563 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 574 |
|
exec 6>&1 |
| 575 |
|
|
| 576 |
|
# Name of the host. |
| 577 |
< |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 577 |
> |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 578 |
|
# so uname gets run too. |
| 579 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 580 |
|
|
| 593 |
|
# Identity of this package. |
| 594 |
|
PACKAGE_NAME='ircd-hybrid' |
| 595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 596 |
< |
PACKAGE_VERSION='7.3-rc1' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 7.3-rc1' |
| 596 |
> |
PACKAGE_VERSION='8beta2' |
| 597 |
> |
PACKAGE_STRING='ircd-hybrid 8beta2' |
| 598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 599 |
|
PACKAGE_URL='' |
| 600 |
|
|
| 648 |
|
LIBDIR |
| 649 |
|
SYSCONFDIR |
| 650 |
|
PREFIX |
| 623 |
– |
EFNET_FALSE |
| 624 |
– |
EFNET_TRUE |
| 651 |
|
ENABLE_SSL_FALSE |
| 652 |
|
ENABLE_SSL_TRUE |
| 627 |
– |
ENABLE_PCRE_FALSE |
| 628 |
– |
ENABLE_PCRE_TRUE |
| 653 |
|
LTDLOPEN |
| 654 |
|
LT_CONFIG_H |
| 655 |
|
CONVENIENCE_LTDL_FALSE |
| 674 |
|
LIPO |
| 675 |
|
NMEDIT |
| 676 |
|
DSYMUTIL |
| 677 |
+ |
MANIFEST_TOOL |
| 678 |
|
RANLIB |
| 679 |
+ |
ac_ct_AR |
| 680 |
|
AR |
| 681 |
+ |
DLLTOOL |
| 682 |
|
OBJDUMP |
| 683 |
|
LN_S |
| 684 |
|
NM |
| 706 |
|
am__fastdepCC_FALSE |
| 707 |
|
am__fastdepCC_TRUE |
| 708 |
|
CCDEPMODE |
| 709 |
+ |
am__nodep |
| 710 |
|
AMDEPBACKSLASH |
| 711 |
|
AMDEP_FALSE |
| 712 |
|
AMDEP_TRUE |
| 794 |
|
with_pic |
| 795 |
|
enable_fast_install |
| 796 |
|
with_gnu_ld |
| 797 |
+ |
with_sysroot |
| 798 |
|
enable_libtool_lock |
| 799 |
|
with_included_ltdl |
| 800 |
|
with_ltdl_include |
| 801 |
|
with_ltdl_lib |
| 802 |
|
enable_ltdl_install |
| 774 |
– |
with_zlib_path |
| 775 |
– |
enable_zlib |
| 776 |
– |
with_libpcre_path |
| 803 |
|
enable_libpcre |
| 804 |
|
enable_openssl |
| 805 |
|
enable_assert |
| 812 |
|
enable_select |
| 813 |
|
with_nicklen |
| 814 |
|
with_topiclen |
| 789 |
– |
with_syslog_facility |
| 790 |
– |
enable_efnet |
| 815 |
|
enable_halfops |
| 816 |
|
enable_debugging |
| 817 |
|
enable_warnings |
| 794 |
– |
enable_syslog |
| 818 |
|
' |
| 819 |
|
ac_precious_vars='build_alias |
| 820 |
|
host_alias |
| 889 |
|
fi |
| 890 |
|
|
| 891 |
|
case $ac_option in |
| 892 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 893 |
< |
*) ac_optarg=yes ;; |
| 892 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 893 |
> |
*=) ac_optarg= ;; |
| 894 |
> |
*) ac_optarg=yes ;; |
| 895 |
|
esac |
| 896 |
|
|
| 897 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 936 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 937 |
|
# Reject names that are not valid shell variable names. |
| 938 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 939 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 939 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 940 |
|
ac_useropt_orig=$ac_useropt |
| 941 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 942 |
|
case $ac_user_opts in |
| 962 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 963 |
|
# Reject names that are not valid shell variable names. |
| 964 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 965 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 965 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 966 |
|
ac_useropt_orig=$ac_useropt |
| 967 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 968 |
|
case $ac_user_opts in |
| 1166 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1167 |
|
# Reject names that are not valid shell variable names. |
| 1168 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1169 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1169 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1170 |
|
ac_useropt_orig=$ac_useropt |
| 1171 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1172 |
|
case $ac_user_opts in |
| 1182 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1183 |
|
# Reject names that are not valid shell variable names. |
| 1184 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1185 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1185 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1186 |
|
ac_useropt_orig=$ac_useropt |
| 1187 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1188 |
|
case $ac_user_opts in |
| 1212 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1213 |
|
x_libraries=$ac_optarg ;; |
| 1214 |
|
|
| 1215 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
| 1216 |
< |
Try \`$0 --help' for more information." |
| 1215 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1216 |
> |
Try \`$0 --help' for more information" |
| 1217 |
|
;; |
| 1218 |
|
|
| 1219 |
|
*=*) |
| 1221 |
|
# Reject names that are not valid shell variable names. |
| 1222 |
|
case $ac_envvar in #( |
| 1223 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1224 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1224 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1225 |
|
esac |
| 1226 |
|
eval $ac_envvar=\$ac_optarg |
| 1227 |
|
export $ac_envvar ;; |
| 1231 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1232 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1233 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1234 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1234 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1235 |
|
;; |
| 1236 |
|
|
| 1237 |
|
esac |
| 1239 |
|
|
| 1240 |
|
if test -n "$ac_prev"; then |
| 1241 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1242 |
< |
as_fn_error "missing argument to $ac_option" |
| 1242 |
> |
as_fn_error $? "missing argument to $ac_option" |
| 1243 |
|
fi |
| 1244 |
|
|
| 1245 |
|
if test -n "$ac_unrecognized_opts"; then |
| 1246 |
|
case $enable_option_checking in |
| 1247 |
|
no) ;; |
| 1248 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1248 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1249 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1250 |
|
esac |
| 1251 |
|
fi |
| 1268 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
| 1269 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1270 |
|
esac |
| 1271 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1271 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1272 |
|
done |
| 1273 |
|
|
| 1274 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1282 |
|
if test "x$host_alias" != x; then |
| 1283 |
|
if test "x$build_alias" = x; then |
| 1284 |
|
cross_compiling=maybe |
| 1261 |
– |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1262 |
– |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1285 |
|
elif test "x$build_alias" != "x$host_alias"; then |
| 1286 |
|
cross_compiling=yes |
| 1287 |
|
fi |
| 1296 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1297 |
|
ac_ls_di=`ls -di .` && |
| 1298 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1299 |
< |
as_fn_error "working directory cannot be determined" |
| 1299 |
> |
as_fn_error $? "working directory cannot be determined" |
| 1300 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1301 |
< |
as_fn_error "pwd does not report name of working directory" |
| 1301 |
> |
as_fn_error $? "pwd does not report name of working directory" |
| 1302 |
|
|
| 1303 |
|
|
| 1304 |
|
# Find the source files, if location was not specified. |
| 1337 |
|
fi |
| 1338 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1339 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1340 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1340 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1341 |
|
fi |
| 1342 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1343 |
|
ac_abs_confdir=`( |
| 1344 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1344 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1345 |
|
pwd)` |
| 1346 |
|
# When building in place, set srcdir=. |
| 1347 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1367 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1368 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1369 |
|
cat <<_ACEOF |
| 1370 |
< |
\`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems. |
| 1370 |
> |
\`configure' configures ircd-hybrid 8beta2 to adapt to many kinds of systems. |
| 1371 |
|
|
| 1372 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1373 |
|
|
| 1381 |
|
--help=short display options specific to this package |
| 1382 |
|
--help=recursive display the short help of all the included packages |
| 1383 |
|
-V, --version display version information and exit |
| 1384 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
| 1384 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1385 |
|
--cache-file=FILE cache test results in FILE [disabled] |
| 1386 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1387 |
|
-n, --no-create do not create output files |
| 1437 |
|
|
| 1438 |
|
if test -n "$ac_init_help"; then |
| 1439 |
|
case $ac_init_help in |
| 1440 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";; |
| 1440 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8beta2:";; |
| 1441 |
|
esac |
| 1442 |
|
cat <<\_ACEOF |
| 1443 |
|
|
| 1445 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1446 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1447 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1448 |
< |
--enable-maintainer-mode enable make rules and dependencies not useful |
| 1449 |
< |
(and sometimes confusing) to the casual installer |
| 1450 |
< |
--disable-dependency-tracking speeds up one-time build |
| 1451 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
| 1448 |
> |
--enable-maintainer-mode |
| 1449 |
> |
enable make rules and dependencies not useful (and |
| 1450 |
> |
sometimes confusing) to the casual installer |
| 1451 |
> |
--enable-dependency-tracking |
| 1452 |
> |
do not reject slow dependency extractors |
| 1453 |
> |
--disable-dependency-tracking |
| 1454 |
> |
speeds up one-time build |
| 1455 |
|
--enable-static[=PKGS] build static libraries [default=no] |
| 1456 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1457 |
|
--enable-fast-install[=PKGS] |
| 1458 |
|
optimize for fast installation [default=yes] |
| 1459 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1460 |
|
--enable-ltdl-install install libltdl |
| 1436 |
– |
--disable-zlib Disable ziplinks support |
| 1461 |
|
--disable-libpcre Disable PCRE support |
| 1462 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1463 |
|
--disable-openssl Disable OpenSSL support. |
| 1469 |
|
--enable-rtsigio Force rtsigio usage. |
| 1470 |
|
--enable-poll Force poll usage. |
| 1471 |
|
--enable-select Force select usage. |
| 1448 |
– |
--enable-efnet For IRCDs running on EFnet. |
| 1472 |
|
--enable-halfops Enable halfops support. |
| 1473 |
|
--enable-debugging Enable debugging. |
| 1474 |
|
--enable-warnings Enable compiler warnings. |
| 1452 |
– |
--enable-syslog="EVENTS" |
| 1453 |
– |
Enable syslog for events: users oper (space |
| 1454 |
– |
separated in quotes; default: disabled). |
| 1475 |
|
|
| 1476 |
|
Optional Packages: |
| 1477 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1478 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1479 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
| 1479 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1480 |
|
both] |
| 1481 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1482 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
| 1483 |
+ |
(or the compiler's sysroot if not specified). |
| 1484 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1485 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1486 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1465 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1466 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1487 |
|
--with-nicklen=<value> Set nickname length (default 9). |
| 1488 |
|
--with-topiclen=<value> Set topic length (default 160). |
| 1469 |
– |
--with-syslog-facility=LOG |
| 1470 |
– |
Define the syslog facility to use (default: |
| 1471 |
– |
LOG_LOCAL4) |
| 1489 |
|
|
| 1490 |
|
Some influential environment variables: |
| 1491 |
|
CC C compiler command |
| 1495 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1496 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1497 |
|
you have headers in a nonstandard directory <include dir> |
| 1498 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1499 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
| 1498 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1499 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
| 1500 |
> |
`yacc'. |
| 1501 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1502 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1503 |
|
default value of `-d' given by some make applications. |
| 1569 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1570 |
|
if $ac_init_version; then |
| 1571 |
|
cat <<\_ACEOF |
| 1572 |
< |
ircd-hybrid configure 7.3-rc1 |
| 1573 |
< |
generated by GNU Autoconf 2.65 |
| 1572 |
> |
ircd-hybrid configure 8beta2 |
| 1573 |
> |
generated by GNU Autoconf 2.69 |
| 1574 |
|
|
| 1575 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1575 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1576 |
|
This configure script is free software; the Free Software Foundation |
| 1577 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1578 |
|
_ACEOF |
| 1616 |
|
|
| 1617 |
|
ac_retval=1 |
| 1618 |
|
fi |
| 1619 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1619 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1620 |
|
as_fn_set_status $ac_retval |
| 1621 |
|
|
| 1622 |
|
} # ac_fn_c_try_compile |
| 1648 |
|
test ! -s conftest.err |
| 1649 |
|
} && test -s conftest$ac_exeext && { |
| 1650 |
|
test "$cross_compiling" = yes || |
| 1651 |
< |
$as_test_x conftest$ac_exeext |
| 1651 |
> |
test -x conftest$ac_exeext |
| 1652 |
|
}; then : |
| 1653 |
|
ac_retval=0 |
| 1654 |
|
else |
| 1662 |
|
# interfere with the next link command; also delete a directory that is |
| 1663 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1664 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1665 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1665 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1666 |
|
as_fn_set_status $ac_retval |
| 1667 |
|
|
| 1668 |
|
} # ac_fn_c_try_link |
| 1676 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1677 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1678 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1679 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1679 |
> |
if eval \${$3+:} false; then : |
| 1680 |
|
$as_echo_n "(cached) " >&6 |
| 1681 |
|
else |
| 1682 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1694 |
|
eval ac_res=\$$3 |
| 1695 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1696 |
|
$as_echo "$ac_res" >&6; } |
| 1697 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1697 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1698 |
|
|
| 1699 |
|
} # ac_fn_c_check_header_compile |
| 1700 |
|
|
| 1719 |
|
mv -f conftest.er1 conftest.err |
| 1720 |
|
fi |
| 1721 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1722 |
< |
test $ac_status = 0; } >/dev/null && { |
| 1722 |
> |
test $ac_status = 0; } > conftest.i && { |
| 1723 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1724 |
|
test ! -s conftest.err |
| 1725 |
|
}; then : |
| 1730 |
|
|
| 1731 |
|
ac_retval=1 |
| 1732 |
|
fi |
| 1733 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1733 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1734 |
|
as_fn_set_status $ac_retval |
| 1735 |
|
|
| 1736 |
|
} # ac_fn_c_try_cpp |
| 1772 |
|
ac_retval=$ac_status |
| 1773 |
|
fi |
| 1774 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1775 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1775 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1776 |
|
as_fn_set_status $ac_retval |
| 1777 |
|
|
| 1778 |
|
} # ac_fn_c_try_run |
| 1785 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1786 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1787 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1788 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1788 |
> |
if eval \${$3+:} false; then : |
| 1789 |
|
$as_echo_n "(cached) " >&6 |
| 1790 |
|
else |
| 1791 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1840 |
|
eval ac_res=\$$3 |
| 1841 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1842 |
|
$as_echo "$ac_res" >&6; } |
| 1843 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1843 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1844 |
|
|
| 1845 |
|
} # ac_fn_c_check_func |
| 1846 |
|
|
| 1847 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
| 1848 |
< |
# ------------------------------------ |
| 1849 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
| 1847 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
| 1848 |
> |
# --------------------------------------------- |
| 1849 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 1850 |
> |
# accordingly. |
| 1851 |
|
ac_fn_c_check_decl () |
| 1852 |
|
{ |
| 1853 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1854 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
| 1855 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
| 1856 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1854 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 1855 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1856 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1857 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1858 |
> |
if eval \${$3+:} false; then : |
| 1859 |
|
$as_echo_n "(cached) " >&6 |
| 1860 |
|
else |
| 1861 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1864 |
|
int |
| 1865 |
|
main () |
| 1866 |
|
{ |
| 1867 |
< |
#ifndef $2 |
| 1868 |
< |
(void) $2; |
| 1867 |
> |
#ifndef $as_decl_name |
| 1868 |
> |
#ifdef __cplusplus |
| 1869 |
> |
(void) $as_decl_use; |
| 1870 |
> |
#else |
| 1871 |
> |
(void) $as_decl_name; |
| 1872 |
> |
#endif |
| 1873 |
|
#endif |
| 1874 |
|
|
| 1875 |
|
; |
| 1886 |
|
eval ac_res=\$$3 |
| 1887 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1888 |
|
$as_echo "$ac_res" >&6; } |
| 1889 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1889 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1890 |
|
|
| 1891 |
|
} # ac_fn_c_check_decl |
| 1892 |
|
|
| 1899 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1900 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1901 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1902 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1902 |
> |
if eval \${$3+:} false; then : |
| 1903 |
|
$as_echo_n "(cached) " >&6 |
| 1904 |
|
else |
| 1905 |
|
eval "$3=no" |
| 1940 |
|
eval ac_res=\$$3 |
| 1941 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1942 |
|
$as_echo "$ac_res" >&6; } |
| 1943 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1943 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1944 |
|
|
| 1945 |
|
} # ac_fn_c_check_type |
| 1946 |
|
|
| 1953 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1954 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1955 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
| 1956 |
< |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1956 |
> |
if eval \${$4+:} false; then : |
| 1957 |
|
$as_echo_n "(cached) " >&6 |
| 1958 |
|
else |
| 1959 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1997 |
|
eval ac_res=\$$4 |
| 1998 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1999 |
|
$as_echo "$ac_res" >&6; } |
| 2000 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2000 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2001 |
|
|
| 2002 |
|
} # ac_fn_c_check_member |
| 2003 |
|
|
| 2009 |
|
ac_fn_c_check_header_mongrel () |
| 2010 |
|
{ |
| 2011 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2012 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2012 |
> |
if eval \${$3+:} false; then : |
| 2013 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2014 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2015 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2015 |
> |
if eval \${$3+:} false; then : |
| 2016 |
|
$as_echo_n "(cached) " >&6 |
| 2017 |
|
fi |
| 2018 |
|
eval ac_res=\$$3 |
| 2048 |
|
else |
| 2049 |
|
ac_header_preproc=no |
| 2050 |
|
fi |
| 2051 |
< |
rm -f conftest.err conftest.$ac_ext |
| 2051 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 2052 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2053 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 2054 |
|
|
| 2071 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2072 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2073 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2074 |
< |
( cat <<\_ASBOX |
| 2050 |
< |
## ----------------------------------- ## |
| 2074 |
> |
( $as_echo "## ----------------------------------- ## |
| 2075 |
|
## Report this to bugs@ircd-hybrid.org ## |
| 2076 |
< |
## ----------------------------------- ## |
| 2053 |
< |
_ASBOX |
| 2076 |
> |
## ----------------------------------- ##" |
| 2077 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2078 |
|
;; |
| 2079 |
|
esac |
| 2080 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2081 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2082 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2082 |
> |
if eval \${$3+:} false; then : |
| 2083 |
|
$as_echo_n "(cached) " >&6 |
| 2084 |
|
else |
| 2085 |
|
eval "$3=\$ac_header_compiler" |
| 2088 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2089 |
|
$as_echo "$ac_res" >&6; } |
| 2090 |
|
fi |
| 2091 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2091 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2092 |
|
|
| 2093 |
|
} # ac_fn_c_check_header_mongrel |
| 2094 |
|
cat >config.log <<_ACEOF |
| 2095 |
|
This file contains any messages produced by compilers while |
| 2096 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2097 |
|
|
| 2098 |
< |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2099 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 2098 |
> |
It was created by ircd-hybrid $as_me 8beta2, which was |
| 2099 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 2100 |
|
|
| 2101 |
|
$ $0 $@ |
| 2102 |
|
|
| 2206 |
|
{ |
| 2207 |
|
echo |
| 2208 |
|
|
| 2209 |
< |
cat <<\_ASBOX |
| 2187 |
< |
## ---------------- ## |
| 2209 |
> |
$as_echo "## ---------------- ## |
| 2210 |
|
## Cache variables. ## |
| 2211 |
< |
## ---------------- ## |
| 2190 |
< |
_ASBOX |
| 2211 |
> |
## ---------------- ##" |
| 2212 |
|
echo |
| 2213 |
|
# The following way of writing the cache mishandles newlines in values, |
| 2214 |
|
( |
| 2242 |
|
) |
| 2243 |
|
echo |
| 2244 |
|
|
| 2245 |
< |
cat <<\_ASBOX |
| 2225 |
< |
## ----------------- ## |
| 2245 |
> |
$as_echo "## ----------------- ## |
| 2246 |
|
## Output variables. ## |
| 2247 |
< |
## ----------------- ## |
| 2228 |
< |
_ASBOX |
| 2247 |
> |
## ----------------- ##" |
| 2248 |
|
echo |
| 2249 |
|
for ac_var in $ac_subst_vars |
| 2250 |
|
do |
| 2257 |
|
echo |
| 2258 |
|
|
| 2259 |
|
if test -n "$ac_subst_files"; then |
| 2260 |
< |
cat <<\_ASBOX |
| 2242 |
< |
## ------------------- ## |
| 2260 |
> |
$as_echo "## ------------------- ## |
| 2261 |
|
## File substitutions. ## |
| 2262 |
< |
## ------------------- ## |
| 2245 |
< |
_ASBOX |
| 2262 |
> |
## ------------------- ##" |
| 2263 |
|
echo |
| 2264 |
|
for ac_var in $ac_subst_files |
| 2265 |
|
do |
| 2273 |
|
fi |
| 2274 |
|
|
| 2275 |
|
if test -s confdefs.h; then |
| 2276 |
< |
cat <<\_ASBOX |
| 2260 |
< |
## ----------- ## |
| 2276 |
> |
$as_echo "## ----------- ## |
| 2277 |
|
## confdefs.h. ## |
| 2278 |
< |
## ----------- ## |
| 2263 |
< |
_ASBOX |
| 2278 |
> |
## ----------- ##" |
| 2279 |
|
echo |
| 2280 |
|
cat confdefs.h |
| 2281 |
|
echo |
| 2330 |
|
ac_site_file1=NONE |
| 2331 |
|
ac_site_file2=NONE |
| 2332 |
|
if test -n "$CONFIG_SITE"; then |
| 2333 |
< |
ac_site_file1=$CONFIG_SITE |
| 2333 |
> |
# We do not want a PATH search for config.site. |
| 2334 |
> |
case $CONFIG_SITE in #(( |
| 2335 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2336 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2337 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2338 |
> |
esac |
| 2339 |
|
elif test "x$prefix" != xNONE; then |
| 2340 |
|
ac_site_file1=$prefix/share/config.site |
| 2341 |
|
ac_site_file2=$prefix/etc/config.site |
| 2350 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2351 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2352 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2353 |
< |
. "$ac_site_file" |
| 2353 |
> |
. "$ac_site_file" \ |
| 2354 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2355 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2356 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
| 2357 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 2358 |
|
fi |
| 2359 |
|
done |
| 2360 |
|
|
| 2381 |
|
as_fn_append ac_func_list " strlcat" |
| 2382 |
|
as_fn_append ac_func_list " strlcpy" |
| 2383 |
|
as_fn_append ac_header_list " crypt.h" |
| 2360 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2361 |
– |
as_fn_append ac_header_list " stdint.h" |
| 2384 |
|
as_fn_append ac_header_list " sys/resource.h" |
| 2385 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2364 |
– |
as_fn_append ac_header_list " errno.h" |
| 2365 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
| 2386 |
|
as_fn_append ac_header_list " types.h" |
| 2387 |
|
as_fn_append ac_header_list " socket.h" |
| 2388 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2389 |
|
as_fn_append ac_header_list " wait.h" |
| 2370 |
– |
as_fn_append ac_header_list " link.h" |
| 2390 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2391 |
|
# value. |
| 2392 |
|
ac_cache_corrupted=false |
| 2442 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2443 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2444 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2445 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2445 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2446 |
|
fi |
| 2447 |
|
## -------------------- ## |
| 2448 |
|
## Main body of script. ## |
| 2455 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2456 |
|
|
| 2457 |
|
|
| 2458 |
< |
am__api_version='1.11' |
| 2458 |
> |
am__api_version='1.12' |
| 2459 |
|
|
| 2460 |
|
ac_aux_dir= |
| 2461 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2462 |
< |
for ac_t in install-sh install.sh shtool; do |
| 2463 |
< |
if test -f "$ac_dir/$ac_t"; then |
| 2464 |
< |
ac_aux_dir=$ac_dir |
| 2465 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2466 |
< |
break 2 |
| 2467 |
< |
fi |
| 2468 |
< |
done |
| 2462 |
> |
if test -f "$ac_dir/install-sh"; then |
| 2463 |
> |
ac_aux_dir=$ac_dir |
| 2464 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2465 |
> |
break |
| 2466 |
> |
elif test -f "$ac_dir/install.sh"; then |
| 2467 |
> |
ac_aux_dir=$ac_dir |
| 2468 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2469 |
> |
break |
| 2470 |
> |
elif test -f "$ac_dir/shtool"; then |
| 2471 |
> |
ac_aux_dir=$ac_dir |
| 2472 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2473 |
> |
break |
| 2474 |
> |
fi |
| 2475 |
|
done |
| 2476 |
|
if test -z "$ac_aux_dir"; then |
| 2477 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2477 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2478 |
|
fi |
| 2479 |
|
|
| 2480 |
|
# These three variables are undocumented and unsupported, |
| 2503 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2504 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2505 |
|
if test -z "$INSTALL"; then |
| 2506 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
| 2506 |
> |
if ${ac_cv_path_install+:} false; then : |
| 2507 |
|
$as_echo_n "(cached) " >&6 |
| 2508 |
|
else |
| 2509 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2523 |
|
# by default. |
| 2524 |
|
for ac_prog in ginstall scoinst install; do |
| 2525 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2526 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 2526 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2527 |
|
if test $ac_prog = install && |
| 2528 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2529 |
|
# AIX install. It has an incompatible calling convention. |
| 2581 |
|
|
| 2582 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2583 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2559 |
– |
# Just in case |
| 2560 |
– |
sleep 1 |
| 2561 |
– |
echo timestamp > conftest.file |
| 2584 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2585 |
|
# name. Accept space and tab only in the latter. |
| 2586 |
|
am_lf=' |
| 2587 |
|
' |
| 2588 |
|
case `pwd` in |
| 2589 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
| 2590 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
| 2590 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 2591 |
|
esac |
| 2592 |
|
case $srcdir in |
| 2593 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2594 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2594 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2595 |
|
esac |
| 2596 |
|
|
| 2597 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
| 2597 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 2598 |
|
# arguments. Must try -L first in case configure is actually a |
| 2599 |
|
# symlink; some systems play weird games with the mod time of symlinks |
| 2600 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
| 2601 |
|
# directory). |
| 2602 |
|
if ( |
| 2603 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2604 |
< |
if test "$*" = "X"; then |
| 2605 |
< |
# -L didn't work. |
| 2606 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2607 |
< |
fi |
| 2608 |
< |
rm -f conftest.file |
| 2609 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2610 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2611 |
< |
|
| 2612 |
< |
# If neither matched, then we have a broken ls. This can happen |
| 2591 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2592 |
< |
# broken ls alias from the environment. This has actually |
| 2593 |
< |
# happened. Such a system could not be considered "sane". |
| 2594 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
| 2595 |
< |
alias in your environment" "$LINENO" 5 |
| 2596 |
< |
fi |
| 2603 |
> |
am_has_slept=no |
| 2604 |
> |
for am_try in 1 2; do |
| 2605 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 2606 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2607 |
> |
if test "$*" = "X"; then |
| 2608 |
> |
# -L didn't work. |
| 2609 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2610 |
> |
fi |
| 2611 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2612 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2613 |
|
|
| 2614 |
+ |
# If neither matched, then we have a broken ls. This can happen |
| 2615 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2616 |
+ |
# broken ls alias from the environment. This has actually |
| 2617 |
+ |
# happened. Such a system could not be considered "sane". |
| 2618 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2619 |
+ |
alias in your environment" "$LINENO" 5 |
| 2620 |
+ |
fi |
| 2621 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 2622 |
+ |
break |
| 2623 |
+ |
fi |
| 2624 |
+ |
# Just in case. |
| 2625 |
+ |
sleep 1 |
| 2626 |
+ |
am_has_slept=yes |
| 2627 |
+ |
done |
| 2628 |
|
test "$2" = conftest.file |
| 2629 |
|
) |
| 2630 |
|
then |
| 2631 |
|
# Ok. |
| 2632 |
|
: |
| 2633 |
|
else |
| 2634 |
< |
as_fn_error "newly created file is older than distributed files! |
| 2634 |
> |
as_fn_error $? "newly created file is older than distributed files! |
| 2635 |
|
Check your system clock" "$LINENO" 5 |
| 2636 |
|
fi |
| 2637 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2638 |
|
$as_echo "yes" >&6; } |
| 2639 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2640 |
+ |
# generated files are strictly newer. |
| 2641 |
+ |
am_sleep_pid= |
| 2642 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2643 |
+ |
( sleep 1 ) & |
| 2644 |
+ |
am_sleep_pid=$! |
| 2645 |
+ |
fi |
| 2646 |
+ |
|
| 2647 |
+ |
rm -f conftest.file |
| 2648 |
+ |
|
| 2649 |
|
test "$program_prefix" != NONE && |
| 2650 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2651 |
|
# Use a double $ so make ignores it. |
| 2672 |
|
am_missing_run="$MISSING --run " |
| 2673 |
|
else |
| 2674 |
|
am_missing_run= |
| 2675 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2676 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2675 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2676 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2677 |
|
fi |
| 2678 |
|
|
| 2679 |
|
if test x"${install_sh}" != xset; then |
| 2685 |
|
esac |
| 2686 |
|
fi |
| 2687 |
|
|
| 2688 |
< |
# Installed binaries are usually stripped using `strip' when the user |
| 2689 |
< |
# run `make install-strip'. However `strip' might not be the right |
| 2688 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
| 2689 |
> |
# run "make install-strip". However 'strip' might not be the right |
| 2690 |
|
# tool to use in cross-compilation environments, therefore Automake |
| 2691 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
| 2691 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
| 2692 |
|
if test "$cross_compiling" != no; then |
| 2693 |
|
if test -n "$ac_tool_prefix"; then |
| 2694 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2695 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2696 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2697 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2698 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 2698 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2699 |
|
$as_echo_n "(cached) " >&6 |
| 2700 |
|
else |
| 2701 |
|
if test -n "$STRIP"; then |
| 2707 |
|
IFS=$as_save_IFS |
| 2708 |
|
test -z "$as_dir" && as_dir=. |
| 2709 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2710 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2710 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2711 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2712 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2713 |
|
break 2 |
| 2735 |
|
set dummy strip; ac_word=$2 |
| 2736 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2737 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2738 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 2738 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2739 |
|
$as_echo_n "(cached) " >&6 |
| 2740 |
|
else |
| 2741 |
|
if test -n "$ac_ct_STRIP"; then |
| 2747 |
|
IFS=$as_save_IFS |
| 2748 |
|
test -z "$as_dir" && as_dir=. |
| 2749 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2750 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2750 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2751 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2752 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2753 |
|
break 2 |
| 2788 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2789 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2790 |
|
if test -z "$MKDIR_P"; then |
| 2791 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
| 2791 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
| 2792 |
|
$as_echo_n "(cached) " >&6 |
| 2793 |
|
else |
| 2794 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2798 |
|
test -z "$as_dir" && as_dir=. |
| 2799 |
|
for ac_prog in mkdir gmkdir; do |
| 2800 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2801 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
| 2801 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2802 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2803 |
|
'mkdir (GNU coreutils) '* | \ |
| 2804 |
|
'mkdir (coreutils) '* | \ |
| 2827 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2828 |
|
$as_echo "$MKDIR_P" >&6; } |
| 2829 |
|
|
| 2790 |
– |
mkdir_p="$MKDIR_P" |
| 2791 |
– |
case $mkdir_p in |
| 2792 |
– |
[\\/$]* | ?:[\\/]*) ;; |
| 2793 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2794 |
– |
esac |
| 2795 |
– |
|
| 2830 |
|
for ac_prog in gawk mawk nawk awk |
| 2831 |
|
do |
| 2832 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2833 |
|
set dummy $ac_prog; ac_word=$2 |
| 2834 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2835 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2836 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
| 2836 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
| 2837 |
|
$as_echo_n "(cached) " >&6 |
| 2838 |
|
else |
| 2839 |
|
if test -n "$AWK"; then |
| 2845 |
|
IFS=$as_save_IFS |
| 2846 |
|
test -z "$as_dir" && as_dir=. |
| 2847 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2848 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2848 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2849 |
|
ac_cv_prog_AWK="$ac_prog" |
| 2850 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2851 |
|
break 2 |
| 2873 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2874 |
|
set x ${MAKE-make} |
| 2875 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2876 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2876 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2877 |
|
$as_echo_n "(cached) " >&6 |
| 2878 |
|
else |
| 2879 |
|
cat >conftest.make <<\_ACEOF |
| 2881 |
|
all: |
| 2882 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2883 |
|
_ACEOF |
| 2884 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 2884 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2885 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2886 |
|
*@@@%%%=?*=@@@%%%*) |
| 2887 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2915 |
|
am__isrc=' -I$(srcdir)' |
| 2916 |
|
# test to see if srcdir already configured |
| 2917 |
|
if test -f $srcdir/config.status; then |
| 2918 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2918 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2919 |
|
fi |
| 2920 |
|
fi |
| 2921 |
|
|
| 2931 |
|
|
| 2932 |
|
# Define the identity of the package. |
| 2933 |
|
PACKAGE='ircd-hybrid' |
| 2934 |
< |
VERSION='7.3-rc1' |
| 2934 |
> |
VERSION='8beta2' |
| 2935 |
|
|
| 2936 |
|
|
| 2937 |
|
cat >>confdefs.h <<_ACEOF |
| 2959 |
|
|
| 2960 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2961 |
|
|
| 2962 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2963 |
+ |
# dies out for good. For more background, see: |
| 2964 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2965 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2966 |
+ |
mkdir_p='$(MKDIR_P)' |
| 2967 |
+ |
|
| 2968 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 2969 |
|
# some platforms. |
| 2970 |
< |
# Always define AMTAR for backward compatibility. |
| 2970 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2971 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
| 2972 |
> |
AMTAR='$${TAR-tar}' |
| 2973 |
|
|
| 2974 |
< |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 2933 |
< |
|
| 2934 |
< |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 2974 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2975 |
|
|
| 2976 |
|
|
| 2977 |
|
|
| 3024 |
|
_am_result=none |
| 3025 |
|
# First try GNU make style include. |
| 3026 |
|
echo "include confinc" > confmf |
| 3027 |
< |
# Ignore all kinds of additional output from `make'. |
| 3027 |
> |
# Ignore all kinds of additional output from 'make'. |
| 3028 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3029 |
|
*the\ am__doit\ target*) |
| 3030 |
|
am__include=include |
| 3057 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3058 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 3059 |
|
AMDEPBACKSLASH='\' |
| 3060 |
+ |
am__nodep='_no' |
| 3061 |
|
fi |
| 3062 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3063 |
|
AMDEP_TRUE= |
| 3078 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3079 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3080 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3081 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3081 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3082 |
|
$as_echo_n "(cached) " >&6 |
| 3083 |
|
else |
| 3084 |
|
if test -n "$CC"; then |
| 3090 |
|
IFS=$as_save_IFS |
| 3091 |
|
test -z "$as_dir" && as_dir=. |
| 3092 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3093 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3093 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3094 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3095 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3096 |
|
break 2 |
| 3118 |
|
set dummy gcc; ac_word=$2 |
| 3119 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3120 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3121 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3121 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3122 |
|
$as_echo_n "(cached) " >&6 |
| 3123 |
|
else |
| 3124 |
|
if test -n "$ac_ct_CC"; then |
| 3130 |
|
IFS=$as_save_IFS |
| 3131 |
|
test -z "$as_dir" && as_dir=. |
| 3132 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3133 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3133 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3134 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3135 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3136 |
|
break 2 |
| 3171 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3172 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3173 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3174 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3174 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3175 |
|
$as_echo_n "(cached) " >&6 |
| 3176 |
|
else |
| 3177 |
|
if test -n "$CC"; then |
| 3183 |
|
IFS=$as_save_IFS |
| 3184 |
|
test -z "$as_dir" && as_dir=. |
| 3185 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3186 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3186 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3187 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3188 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3189 |
|
break 2 |
| 3211 |
|
set dummy cc; ac_word=$2 |
| 3212 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3213 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3214 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3214 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3215 |
|
$as_echo_n "(cached) " >&6 |
| 3216 |
|
else |
| 3217 |
|
if test -n "$CC"; then |
| 3224 |
|
IFS=$as_save_IFS |
| 3225 |
|
test -z "$as_dir" && as_dir=. |
| 3226 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3227 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3227 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3228 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3229 |
|
ac_prog_rejected=yes |
| 3230 |
|
continue |
| 3270 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3271 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3272 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3273 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3273 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3274 |
|
$as_echo_n "(cached) " >&6 |
| 3275 |
|
else |
| 3276 |
|
if test -n "$CC"; then |
| 3282 |
|
IFS=$as_save_IFS |
| 3283 |
|
test -z "$as_dir" && as_dir=. |
| 3284 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3285 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3285 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3286 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3287 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3288 |
|
break 2 |
| 3314 |
|
set dummy $ac_prog; ac_word=$2 |
| 3315 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3316 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3317 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3317 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3318 |
|
$as_echo_n "(cached) " >&6 |
| 3319 |
|
else |
| 3320 |
|
if test -n "$ac_ct_CC"; then |
| 3326 |
|
IFS=$as_save_IFS |
| 3327 |
|
test -z "$as_dir" && as_dir=. |
| 3328 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3329 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3329 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3330 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3331 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3332 |
|
break 2 |
| 3368 |
|
|
| 3369 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3370 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3371 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
| 3372 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3371 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3372 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3373 |
|
|
| 3374 |
|
# Provide some information about the compiler. |
| 3375 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3483 |
|
|
| 3484 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3485 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3486 |
< |
{ as_fn_set_status 77 |
| 3487 |
< |
as_fn_error "C compiler cannot create executables |
| 3447 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3486 |
> |
as_fn_error 77 "C compiler cannot create executables |
| 3487 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3488 |
|
else |
| 3489 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3490 |
|
$as_echo "yes" >&6; } |
| 3526 |
|
else |
| 3527 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3528 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3529 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3530 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3529 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3530 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3531 |
|
fi |
| 3532 |
|
rm -f conftest conftest$ac_cv_exeext |
| 3533 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3584 |
|
else |
| 3585 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3586 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3587 |
< |
as_fn_error "cannot run C compiled programs. |
| 3587 |
> |
as_fn_error $? "cannot run C compiled programs. |
| 3588 |
|
If you meant to cross compile, use \`--host'. |
| 3589 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3589 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3590 |
|
fi |
| 3591 |
|
fi |
| 3592 |
|
fi |
| 3597 |
|
ac_clean_files=$ac_clean_files_save |
| 3598 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3599 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3600 |
< |
if test "${ac_cv_objext+set}" = set; then : |
| 3600 |
> |
if ${ac_cv_objext+:} false; then : |
| 3601 |
|
$as_echo_n "(cached) " >&6 |
| 3602 |
|
else |
| 3603 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3637 |
|
|
| 3638 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3639 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3640 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
| 3641 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3640 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3641 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3642 |
|
fi |
| 3643 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3644 |
|
fi |
| 3648 |
|
ac_objext=$OBJEXT |
| 3649 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3650 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3651 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3651 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3652 |
|
$as_echo_n "(cached) " >&6 |
| 3653 |
|
else |
| 3654 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3685 |
|
ac_save_CFLAGS=$CFLAGS |
| 3686 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3687 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3688 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3688 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3689 |
|
$as_echo_n "(cached) " >&6 |
| 3690 |
|
else |
| 3691 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3763 |
|
fi |
| 3764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3765 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3766 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3766 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3767 |
|
$as_echo_n "(cached) " >&6 |
| 3768 |
|
else |
| 3769 |
|
ac_cv_prog_cc_c89=no |
| 3772 |
|
/* end confdefs.h. */ |
| 3773 |
|
#include <stdarg.h> |
| 3774 |
|
#include <stdio.h> |
| 3775 |
< |
#include <sys/types.h> |
| 3736 |
< |
#include <sys/stat.h> |
| 3775 |
> |
struct stat; |
| 3776 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3777 |
|
struct buf { int x; }; |
| 3778 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3861 |
|
|
| 3862 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 3863 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 3864 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
| 3864 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 3865 |
|
$as_echo_n "(cached) " >&6 |
| 3866 |
|
else |
| 3867 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3868 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 3869 |
|
# making bogus files that we don't know about and never remove. For |
| 3870 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 3871 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3872 |
< |
# in D'. |
| 3871 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 3872 |
> |
# in D". |
| 3873 |
> |
rm -rf conftest.dir |
| 3874 |
|
mkdir conftest.dir |
| 3875 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3876 |
|
# using a relative directory. |
| 3904 |
|
: > sub/conftest.c |
| 3905 |
|
for i in 1 2 3 4 5 6; do |
| 3906 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3907 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3908 |
< |
# Solaris 8's {/usr,}/bin/sh. |
| 3909 |
< |
touch sub/conftst$i.h |
| 3907 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 3908 |
> |
# Solaris 10 /bin/sh. |
| 3909 |
> |
echo '/* dummy */' > sub/conftst$i.h |
| 3910 |
|
done |
| 3911 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3912 |
|
|
| 3913 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3913 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 3914 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3915 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 3916 |
< |
# versions had trouble with output in subdirs |
| 3915 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 3916 |
> |
# versions had trouble with output in subdirs. |
| 3917 |
|
am__obj=sub/conftest.${OBJEXT-o} |
| 3918 |
|
am__minus_obj="-o $am__obj" |
| 3919 |
|
case $depmode in |
| 3922 |
|
test "$am__universal" = false || continue |
| 3923 |
|
;; |
| 3924 |
|
nosideeffect) |
| 3925 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
| 3926 |
< |
# only be used when explicitly requested |
| 3925 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
| 3926 |
> |
# only be used when explicitly requested. |
| 3927 |
|
if test "x$enable_dependency_tracking" = xyes; then |
| 3928 |
|
continue |
| 3929 |
|
else |
| 3930 |
|
break |
| 3931 |
|
fi |
| 3932 |
|
;; |
| 3933 |
< |
msvisualcpp | msvcmsys) |
| 3934 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 3933 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 3934 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 3935 |
|
# not run yet. These depmodes are late enough in the game, and |
| 3936 |
|
# so weak that their functioning should not be impacted. |
| 3937 |
|
am__obj=conftest.${OBJEXT-o} |
| 3987 |
|
|
| 3988 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 3989 |
|
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 3990 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 3990 |
> |
if ${ac_cv_prog_cc_c99+:} false; then : |
| 3991 |
|
$as_echo_n "(cached) " >&6 |
| 3992 |
|
else |
| 3993 |
|
ac_cv_prog_cc_c99=no |
| 4131 |
|
return 0; |
| 4132 |
|
} |
| 4133 |
|
_ACEOF |
| 4134 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4134 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 4135 |
|
do |
| 4136 |
|
CC="$ac_save_CC $ac_arg" |
| 4137 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 4163 |
|
|
| 4164 |
|
|
| 4165 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4166 |
< |
as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4166 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4167 |
|
fi |
| 4168 |
|
for ac_prog in 'bison -y' byacc |
| 4169 |
|
do |
| 4171 |
|
set dummy $ac_prog; ac_word=$2 |
| 4172 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4173 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4174 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
| 4174 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
| 4175 |
|
$as_echo_n "(cached) " >&6 |
| 4176 |
|
else |
| 4177 |
|
if test -n "$YACC"; then |
| 4183 |
|
IFS=$as_save_IFS |
| 4184 |
|
test -z "$as_dir" && as_dir=. |
| 4185 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4186 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4186 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4187 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4188 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4189 |
|
break 2 |
| 4215 |
|
set dummy $ac_prog; ac_word=$2 |
| 4216 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4217 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4218 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
| 4218 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
| 4219 |
|
$as_echo_n "(cached) " >&6 |
| 4220 |
|
else |
| 4221 |
|
if test -n "$LEX"; then |
| 4227 |
|
IFS=$as_save_IFS |
| 4228 |
|
test -z "$as_dir" && as_dir=. |
| 4229 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4230 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4230 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4231 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4232 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4233 |
|
break 2 |
| 4259 |
|
b { REJECT; } |
| 4260 |
|
c { yymore (); } |
| 4261 |
|
d { yyless (1); } |
| 4262 |
< |
e { yyless (input () != 0); } |
| 4262 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 4263 |
> |
yyless ((input () != 0)); } |
| 4264 |
|
f { unput (yytext[0]); } |
| 4265 |
|
. { BEGIN INITIAL; } |
| 4266 |
|
%% |
| 4286 |
|
test $ac_status = 0; } |
| 4287 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 4288 |
|
$as_echo_n "checking lex output file root... " >&6; } |
| 4289 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
| 4289 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
| 4290 |
|
$as_echo_n "(cached) " >&6 |
| 4291 |
|
else |
| 4292 |
|
|
| 4295 |
|
elif test -f lexyy.c; then |
| 4296 |
|
ac_cv_prog_lex_root=lexyy |
| 4297 |
|
else |
| 4298 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4298 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4299 |
|
fi |
| 4300 |
|
fi |
| 4301 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 4305 |
|
if test -z "${LEXLIB+set}"; then |
| 4306 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 4307 |
|
$as_echo_n "checking lex library... " >&6; } |
| 4308 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
| 4308 |
> |
if ${ac_cv_lib_lex+:} false; then : |
| 4309 |
|
$as_echo_n "(cached) " >&6 |
| 4310 |
|
else |
| 4311 |
|
|
| 4335 |
|
|
| 4336 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4337 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 4338 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
| 4338 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 4339 |
|
$as_echo_n "(cached) " >&6 |
| 4340 |
|
else |
| 4341 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 4346 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
| 4347 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4348 |
|
/* end confdefs.h. */ |
| 4349 |
< |
#define YYTEXT_POINTER 1 |
| 4349 |
> |
|
| 4350 |
> |
#define YYTEXT_POINTER 1 |
| 4351 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4352 |
|
_ACEOF |
| 4353 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 4389 |
|
|
| 4390 |
|
|
| 4391 |
|
|
| 4392 |
< |
macro_version='2.2.10' |
| 4393 |
< |
macro_revision='1.3175' |
| 4392 |
> |
macro_version='2.4.2' |
| 4393 |
> |
macro_revision='1.3337' |
| 4394 |
|
|
| 4395 |
|
|
| 4396 |
|
|
| 4408 |
|
|
| 4409 |
|
# Make sure we can run config.sub. |
| 4410 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 4411 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4411 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4412 |
|
|
| 4413 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4414 |
|
$as_echo_n "checking build system type... " >&6; } |
| 4415 |
< |
if test "${ac_cv_build+set}" = set; then : |
| 4415 |
> |
if ${ac_cv_build+:} false; then : |
| 4416 |
|
$as_echo_n "(cached) " >&6 |
| 4417 |
|
else |
| 4418 |
|
ac_build_alias=$build_alias |
| 4419 |
|
test "x$ac_build_alias" = x && |
| 4420 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 4421 |
|
test "x$ac_build_alias" = x && |
| 4422 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4422 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4423 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 4424 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4424 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4425 |
|
|
| 4426 |
|
fi |
| 4427 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4428 |
|
$as_echo "$ac_cv_build" >&6; } |
| 4429 |
|
case $ac_cv_build in |
| 4430 |
|
*-*-*) ;; |
| 4431 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 4431 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 4432 |
|
esac |
| 4433 |
|
build=$ac_cv_build |
| 4434 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4446 |
|
|
| 4447 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4448 |
|
$as_echo_n "checking host system type... " >&6; } |
| 4449 |
< |
if test "${ac_cv_host+set}" = set; then : |
| 4449 |
> |
if ${ac_cv_host+:} false; then : |
| 4450 |
|
$as_echo_n "(cached) " >&6 |
| 4451 |
|
else |
| 4452 |
|
if test "x$host_alias" = x; then |
| 4453 |
|
ac_cv_host=$ac_cv_build |
| 4454 |
|
else |
| 4455 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 4456 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4456 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4457 |
|
fi |
| 4458 |
|
|
| 4459 |
|
fi |
| 4461 |
|
$as_echo "$ac_cv_host" >&6; } |
| 4462 |
|
case $ac_cv_host in |
| 4463 |
|
*-*-*) ;; |
| 4464 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 4464 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 4465 |
|
esac |
| 4466 |
|
host=$ac_cv_host |
| 4467 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4502 |
|
$as_echo_n "checking how to print strings... " >&6; } |
| 4503 |
|
# Test print first, because it will be a builtin if present. |
| 4504 |
< |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 4504 |
> |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 4505 |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4506 |
|
ECHO='print -r --' |
| 4507 |
|
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4548 |
|
|
| 4549 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4550 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4551 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
| 4551 |
> |
if ${ac_cv_path_SED+:} false; then : |
| 4552 |
|
$as_echo_n "(cached) " >&6 |
| 4553 |
|
else |
| 4554 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 4568 |
|
for ac_prog in sed gsed; do |
| 4569 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4570 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4571 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
| 4571 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
| 4572 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 4573 |
|
# Check for GNU $ac_path_SED |
| 4574 |
|
case `"$ac_path_SED" --version 2>&1` in |
| 4603 |
|
done |
| 4604 |
|
IFS=$as_save_IFS |
| 4605 |
|
if test -z "$ac_cv_path_SED"; then |
| 4606 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 4606 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 4607 |
|
fi |
| 4608 |
|
else |
| 4609 |
|
ac_cv_path_SED=$SED |
| 4630 |
|
|
| 4631 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4632 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4633 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4633 |
> |
if ${ac_cv_path_GREP+:} false; then : |
| 4634 |
|
$as_echo_n "(cached) " >&6 |
| 4635 |
|
else |
| 4636 |
|
if test -z "$GREP"; then |
| 4644 |
|
for ac_prog in grep ggrep; do |
| 4645 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4646 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4647 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4647 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
| 4648 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 4649 |
|
# Check for GNU $ac_path_GREP |
| 4650 |
|
case `"$ac_path_GREP" --version 2>&1` in |
| 4679 |
|
done |
| 4680 |
|
IFS=$as_save_IFS |
| 4681 |
|
if test -z "$ac_cv_path_GREP"; then |
| 4682 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4682 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4683 |
|
fi |
| 4684 |
|
else |
| 4685 |
|
ac_cv_path_GREP=$GREP |
| 4693 |
|
|
| 4694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4695 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 4696 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4696 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
| 4697 |
|
$as_echo_n "(cached) " >&6 |
| 4698 |
|
else |
| 4699 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4710 |
|
for ac_prog in egrep; do |
| 4711 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4712 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4713 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 4713 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 4714 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 4715 |
|
# Check for GNU $ac_path_EGREP |
| 4716 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
| 4745 |
|
done |
| 4746 |
|
IFS=$as_save_IFS |
| 4747 |
|
if test -z "$ac_cv_path_EGREP"; then |
| 4748 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4748 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4749 |
|
fi |
| 4750 |
|
else |
| 4751 |
|
ac_cv_path_EGREP=$EGREP |
| 4760 |
|
|
| 4761 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4762 |
|
$as_echo_n "checking for fgrep... " >&6; } |
| 4763 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
| 4763 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
| 4764 |
|
$as_echo_n "(cached) " >&6 |
| 4765 |
|
else |
| 4766 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 4777 |
|
for ac_prog in fgrep; do |
| 4778 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4779 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4780 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
| 4780 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
| 4781 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 4782 |
|
# Check for GNU $ac_path_FGREP |
| 4783 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
| 4812 |
|
done |
| 4813 |
|
IFS=$as_save_IFS |
| 4814 |
|
if test -z "$ac_cv_path_FGREP"; then |
| 4815 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4815 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4816 |
|
fi |
| 4817 |
|
else |
| 4818 |
|
ac_cv_path_FGREP=$FGREP |
| 4891 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 4892 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 4893 |
|
fi |
| 4894 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
| 4894 |
> |
if ${lt_cv_path_LD+:} false; then : |
| 4895 |
|
$as_echo_n "(cached) " >&6 |
| 4896 |
|
else |
| 4897 |
|
if test -z "$LD"; then |
| 4928 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4929 |
|
$as_echo "no" >&6; } |
| 4930 |
|
fi |
| 4931 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4931 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4932 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 4933 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 4934 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
| 4934 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
| 4935 |
|
$as_echo_n "(cached) " >&6 |
| 4936 |
|
else |
| 4937 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 4958 |
|
|
| 4959 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 4960 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 4961 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
| 4961 |
> |
if ${lt_cv_path_NM+:} false; then : |
| 4962 |
|
$as_echo_n "(cached) " >&6 |
| 4963 |
|
else |
| 4964 |
|
if test -n "$NM"; then |
| 5021 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5022 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5023 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5024 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
| 5024 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 5025 |
|
$as_echo_n "(cached) " >&6 |
| 5026 |
|
else |
| 5027 |
|
if test -n "$DUMPBIN"; then |
| 5033 |
|
IFS=$as_save_IFS |
| 5034 |
|
test -z "$as_dir" && as_dir=. |
| 5035 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5036 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5036 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5037 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5038 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5039 |
|
break 2 |
| 5065 |
|
set dummy $ac_prog; ac_word=$2 |
| 5066 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5067 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5068 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
| 5068 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 5069 |
|
$as_echo_n "(cached) " >&6 |
| 5070 |
|
else |
| 5071 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5077 |
|
IFS=$as_save_IFS |
| 5078 |
|
test -z "$as_dir" && as_dir=. |
| 5079 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5080 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5080 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5081 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5082 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5083 |
|
break 2 |
| 5137 |
|
|
| 5138 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5139 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5140 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
| 5140 |
> |
if ${lt_cv_nm_interface+:} false; then : |
| 5141 |
|
$as_echo_n "(cached) " >&6 |
| 5142 |
|
else |
| 5143 |
|
lt_cv_nm_interface="BSD nm" |
| 5172 |
|
# find the maximum length of command line arguments |
| 5173 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5174 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5175 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
| 5175 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5176 |
|
$as_echo_n "(cached) " >&6 |
| 5177 |
|
else |
| 5178 |
|
i=0 |
| 5235 |
|
lt_cv_sys_max_cmd_len=196608 |
| 5236 |
|
;; |
| 5237 |
|
|
| 5238 |
+ |
os2*) |
| 5239 |
+ |
# The test takes a long time on OS/2. |
| 5240 |
+ |
lt_cv_sys_max_cmd_len=8192 |
| 5241 |
+ |
;; |
| 5242 |
+ |
|
| 5243 |
|
osf*) |
| 5244 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5245 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5279 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5280 |
|
# maximum length that is only half of the actual maximum length, but |
| 5281 |
|
# we can't tell. |
| 5282 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 5282 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5283 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5284 |
|
test $i != 17 # 1/2 MB should be enough |
| 5285 |
|
do |
| 5322 |
|
# Try some XSI features |
| 5323 |
|
xsi_shell=no |
| 5324 |
|
( _lt_dummy="a/b/c" |
| 5325 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
| 5326 |
< |
= c,a/b,, \ |
| 5325 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
| 5326 |
> |
= c,a/b,b/c, \ |
| 5327 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5328 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5329 |
|
&& xsi_shell=yes |
| 5372 |
|
|
| 5373 |
|
|
| 5374 |
|
|
| 5375 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5376 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
| 5377 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
| 5378 |
+ |
$as_echo_n "(cached) " >&6 |
| 5379 |
+ |
else |
| 5380 |
+ |
case $host in |
| 5381 |
+ |
*-*-mingw* ) |
| 5382 |
+ |
case $build in |
| 5383 |
+ |
*-*-mingw* ) # actually msys |
| 5384 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 5385 |
+ |
;; |
| 5386 |
+ |
*-*-cygwin* ) |
| 5387 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 5388 |
+ |
;; |
| 5389 |
+ |
* ) # otherwise, assume *nix |
| 5390 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 5391 |
+ |
;; |
| 5392 |
+ |
esac |
| 5393 |
+ |
;; |
| 5394 |
+ |
*-*-cygwin* ) |
| 5395 |
+ |
case $build in |
| 5396 |
+ |
*-*-mingw* ) # actually msys |
| 5397 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 5398 |
+ |
;; |
| 5399 |
+ |
*-*-cygwin* ) |
| 5400 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5401 |
+ |
;; |
| 5402 |
+ |
* ) # otherwise, assume *nix |
| 5403 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 5404 |
+ |
;; |
| 5405 |
+ |
esac |
| 5406 |
+ |
;; |
| 5407 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
| 5408 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5409 |
+ |
;; |
| 5410 |
+ |
esac |
| 5411 |
+ |
|
| 5412 |
+ |
fi |
| 5413 |
+ |
|
| 5414 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 5415 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5416 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 5417 |
+ |
|
| 5418 |
+ |
|
| 5419 |
+ |
|
| 5420 |
+ |
|
| 5421 |
+ |
|
| 5422 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5423 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
| 5424 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 5425 |
+ |
$as_echo_n "(cached) " >&6 |
| 5426 |
+ |
else |
| 5427 |
+ |
#assume ordinary cross tools, or native build. |
| 5428 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 5429 |
+ |
case $host in |
| 5430 |
+ |
*-*-mingw* ) |
| 5431 |
+ |
case $build in |
| 5432 |
+ |
*-*-mingw* ) # actually msys |
| 5433 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 5434 |
+ |
;; |
| 5435 |
+ |
esac |
| 5436 |
+ |
;; |
| 5437 |
+ |
esac |
| 5438 |
+ |
|
| 5439 |
+ |
fi |
| 5440 |
+ |
|
| 5441 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 5442 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 5443 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 5444 |
+ |
|
| 5445 |
+ |
|
| 5446 |
+ |
|
| 5447 |
+ |
|
| 5448 |
+ |
|
| 5449 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5450 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 5451 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
| 5451 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
| 5452 |
|
$as_echo_n "(cached) " >&6 |
| 5453 |
|
else |
| 5454 |
|
lt_cv_ld_reload_flag='-r' |
| 5462 |
|
esac |
| 5463 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 5464 |
|
case $host_os in |
| 5465 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
| 5466 |
+ |
if test "$GCC" != yes; then |
| 5467 |
+ |
reload_cmds=false |
| 5468 |
+ |
fi |
| 5469 |
+ |
;; |
| 5470 |
|
darwin*) |
| 5471 |
|
if test "$GCC" = yes; then |
| 5472 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 5489 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 5490 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5491 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5492 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
| 5492 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 5493 |
|
$as_echo_n "(cached) " >&6 |
| 5494 |
|
else |
| 5495 |
|
if test -n "$OBJDUMP"; then |
| 5501 |
|
IFS=$as_save_IFS |
| 5502 |
|
test -z "$as_dir" && as_dir=. |
| 5503 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5504 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5504 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5505 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5506 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5507 |
|
break 2 |
| 5529 |
|
set dummy objdump; ac_word=$2 |
| 5530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5531 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5532 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
| 5532 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 5533 |
|
$as_echo_n "(cached) " >&6 |
| 5534 |
|
else |
| 5535 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5541 |
|
IFS=$as_save_IFS |
| 5542 |
|
test -z "$as_dir" && as_dir=. |
| 5543 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5544 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5544 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5545 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5546 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5547 |
|
break 2 |
| 5588 |
|
|
| 5589 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5590 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5591 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
| 5591 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
| 5592 |
|
$as_echo_n "(cached) " >&6 |
| 5593 |
|
else |
| 5594 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5708 |
|
lt_cv_deplibs_check_method=pass_all |
| 5709 |
|
;; |
| 5710 |
|
|
| 5711 |
< |
# This must be Linux ELF. |
| 5711 |
> |
# This must be glibc/ELF. |
| 5712 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 5713 |
|
lt_cv_deplibs_check_method=pass_all |
| 5714 |
|
;; |
| 5790 |
|
fi |
| 5791 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 5792 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 5793 |
+ |
|
| 5794 |
+ |
file_magic_glob= |
| 5795 |
+ |
want_nocaseglob=no |
| 5796 |
+ |
if test "$build" = "$host"; then |
| 5797 |
+ |
case $host_os in |
| 5798 |
+ |
mingw* | pw32*) |
| 5799 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 5800 |
+ |
want_nocaseglob=yes |
| 5801 |
+ |
else |
| 5802 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 5803 |
+ |
fi |
| 5804 |
+ |
;; |
| 5805 |
+ |
esac |
| 5806 |
+ |
fi |
| 5807 |
+ |
|
| 5808 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
| 5809 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
| 5810 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 5820 |
|
|
| 5821 |
|
|
| 5822 |
|
|
| 5823 |
+ |
|
| 5824 |
+ |
|
| 5825 |
+ |
|
| 5826 |
+ |
|
| 5827 |
+ |
|
| 5828 |
+ |
|
| 5829 |
+ |
|
| 5830 |
+ |
|
| 5831 |
+ |
|
| 5832 |
+ |
|
| 5833 |
|
if test -n "$ac_tool_prefix"; then |
| 5834 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 5835 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 5834 |
> |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 5835 |
> |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 5836 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5837 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5838 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 5838 |
> |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
| 5839 |
> |
$as_echo_n "(cached) " >&6 |
| 5840 |
> |
else |
| 5841 |
> |
if test -n "$DLLTOOL"; then |
| 5842 |
> |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 5843 |
> |
else |
| 5844 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5845 |
> |
for as_dir in $PATH |
| 5846 |
> |
do |
| 5847 |
> |
IFS=$as_save_IFS |
| 5848 |
> |
test -z "$as_dir" && as_dir=. |
| 5849 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5850 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5851 |
> |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 5852 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5853 |
> |
break 2 |
| 5854 |
> |
fi |
| 5855 |
> |
done |
| 5856 |
> |
done |
| 5857 |
> |
IFS=$as_save_IFS |
| 5858 |
> |
|
| 5859 |
> |
fi |
| 5860 |
> |
fi |
| 5861 |
> |
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 5862 |
> |
if test -n "$DLLTOOL"; then |
| 5863 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 5864 |
> |
$as_echo "$DLLTOOL" >&6; } |
| 5865 |
> |
else |
| 5866 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5867 |
> |
$as_echo "no" >&6; } |
| 5868 |
> |
fi |
| 5869 |
> |
|
| 5870 |
> |
|
| 5871 |
> |
fi |
| 5872 |
> |
if test -z "$ac_cv_prog_DLLTOOL"; then |
| 5873 |
> |
ac_ct_DLLTOOL=$DLLTOOL |
| 5874 |
> |
# Extract the first word of "dlltool", so it can be a program name with args. |
| 5875 |
> |
set dummy dlltool; ac_word=$2 |
| 5876 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5877 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5878 |
> |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 5879 |
> |
$as_echo_n "(cached) " >&6 |
| 5880 |
> |
else |
| 5881 |
> |
if test -n "$ac_ct_DLLTOOL"; then |
| 5882 |
> |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 5883 |
> |
else |
| 5884 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5885 |
> |
for as_dir in $PATH |
| 5886 |
> |
do |
| 5887 |
> |
IFS=$as_save_IFS |
| 5888 |
> |
test -z "$as_dir" && as_dir=. |
| 5889 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5890 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5891 |
> |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 5892 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5893 |
> |
break 2 |
| 5894 |
> |
fi |
| 5895 |
> |
done |
| 5896 |
> |
done |
| 5897 |
> |
IFS=$as_save_IFS |
| 5898 |
> |
|
| 5899 |
> |
fi |
| 5900 |
> |
fi |
| 5901 |
> |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 5902 |
> |
if test -n "$ac_ct_DLLTOOL"; then |
| 5903 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 5904 |
> |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
| 5905 |
> |
else |
| 5906 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5907 |
> |
$as_echo "no" >&6; } |
| 5908 |
> |
fi |
| 5909 |
> |
|
| 5910 |
> |
if test "x$ac_ct_DLLTOOL" = x; then |
| 5911 |
> |
DLLTOOL="false" |
| 5912 |
> |
else |
| 5913 |
> |
case $cross_compiling:$ac_tool_warned in |
| 5914 |
> |
yes:) |
| 5915 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5916 |
> |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5917 |
> |
ac_tool_warned=yes ;; |
| 5918 |
> |
esac |
| 5919 |
> |
DLLTOOL=$ac_ct_DLLTOOL |
| 5920 |
> |
fi |
| 5921 |
> |
else |
| 5922 |
> |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 5923 |
> |
fi |
| 5924 |
> |
|
| 5925 |
> |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 5926 |
> |
|
| 5927 |
> |
|
| 5928 |
> |
|
| 5929 |
> |
|
| 5930 |
> |
|
| 5931 |
> |
|
| 5932 |
> |
|
| 5933 |
> |
|
| 5934 |
> |
|
| 5935 |
> |
|
| 5936 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 5937 |
> |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 5938 |
> |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 5939 |
> |
$as_echo_n "(cached) " >&6 |
| 5940 |
> |
else |
| 5941 |
> |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 5942 |
> |
|
| 5943 |
> |
case $host_os in |
| 5944 |
> |
cygwin* | mingw* | pw32* | cegcc*) |
| 5945 |
> |
# two different shell functions defined in ltmain.sh |
| 5946 |
> |
# decide which to use based on capabilities of $DLLTOOL |
| 5947 |
> |
case `$DLLTOOL --help 2>&1` in |
| 5948 |
> |
*--identify-strict*) |
| 5949 |
> |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 5950 |
> |
;; |
| 5951 |
> |
*) |
| 5952 |
> |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 5953 |
> |
;; |
| 5954 |
> |
esac |
| 5955 |
> |
;; |
| 5956 |
> |
*) |
| 5957 |
> |
# fallback: assume linklib IS sharedlib |
| 5958 |
> |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 5959 |
> |
;; |
| 5960 |
> |
esac |
| 5961 |
> |
|
| 5962 |
> |
fi |
| 5963 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 5964 |
> |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 5965 |
> |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 5966 |
> |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 5967 |
> |
|
| 5968 |
> |
|
| 5969 |
> |
|
| 5970 |
> |
|
| 5971 |
> |
|
| 5972 |
> |
|
| 5973 |
> |
|
| 5974 |
> |
if test -n "$ac_tool_prefix"; then |
| 5975 |
> |
for ac_prog in ar |
| 5976 |
> |
do |
| 5977 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5978 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5979 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5980 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5981 |
> |
if ${ac_cv_prog_AR+:} false; then : |
| 5982 |
|
$as_echo_n "(cached) " >&6 |
| 5983 |
|
else |
| 5984 |
|
if test -n "$AR"; then |
| 5990 |
|
IFS=$as_save_IFS |
| 5991 |
|
test -z "$as_dir" && as_dir=. |
| 5992 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5993 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5994 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 5993 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5994 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 5995 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5996 |
|
break 2 |
| 5997 |
|
fi |
| 6011 |
|
fi |
| 6012 |
|
|
| 6013 |
|
|
| 6014 |
+ |
test -n "$AR" && break |
| 6015 |
+ |
done |
| 6016 |
|
fi |
| 6017 |
< |
if test -z "$ac_cv_prog_AR"; then |
| 6017 |
> |
if test -z "$AR"; then |
| 6018 |
|
ac_ct_AR=$AR |
| 6019 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
| 6020 |
< |
set dummy ar; ac_word=$2 |
| 6019 |
> |
for ac_prog in ar |
| 6020 |
> |
do |
| 6021 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6022 |
> |
set dummy $ac_prog; ac_word=$2 |
| 6023 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6024 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6025 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
| 6025 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6026 |
|
$as_echo_n "(cached) " >&6 |
| 6027 |
|
else |
| 6028 |
|
if test -n "$ac_ct_AR"; then |
| 6034 |
|
IFS=$as_save_IFS |
| 6035 |
|
test -z "$as_dir" && as_dir=. |
| 6036 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6037 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6038 |
< |
ac_cv_prog_ac_ct_AR="ar" |
| 6037 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6038 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6039 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6040 |
|
break 2 |
| 6041 |
|
fi |
| 6054 |
|
$as_echo "no" >&6; } |
| 6055 |
|
fi |
| 6056 |
|
|
| 6057 |
+ |
|
| 6058 |
+ |
test -n "$ac_ct_AR" && break |
| 6059 |
+ |
done |
| 6060 |
+ |
|
| 6061 |
|
if test "x$ac_ct_AR" = x; then |
| 6062 |
|
AR="false" |
| 6063 |
|
else |
| 6069 |
|
esac |
| 6070 |
|
AR=$ac_ct_AR |
| 6071 |
|
fi |
| 5770 |
– |
else |
| 5771 |
– |
AR="$ac_cv_prog_AR" |
| 6072 |
|
fi |
| 6073 |
|
|
| 6074 |
< |
test -z "$AR" && AR=ar |
| 6075 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 6074 |
> |
: ${AR=ar} |
| 6075 |
> |
: ${AR_FLAGS=cru} |
| 6076 |
> |
|
| 6077 |
> |
|
| 6078 |
> |
|
| 6079 |
> |
|
| 6080 |
> |
|
| 6081 |
> |
|
| 6082 |
> |
|
| 6083 |
> |
|
| 6084 |
> |
|
| 6085 |
> |
|
| 6086 |
> |
|
| 6087 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6088 |
> |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
| 6089 |
> |
if ${lt_cv_ar_at_file+:} false; then : |
| 6090 |
> |
$as_echo_n "(cached) " >&6 |
| 6091 |
> |
else |
| 6092 |
> |
lt_cv_ar_at_file=no |
| 6093 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6094 |
> |
/* end confdefs.h. */ |
| 6095 |
> |
|
| 6096 |
> |
int |
| 6097 |
> |
main () |
| 6098 |
> |
{ |
| 6099 |
|
|
| 6100 |
+ |
; |
| 6101 |
+ |
return 0; |
| 6102 |
+ |
} |
| 6103 |
+ |
_ACEOF |
| 6104 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6105 |
+ |
echo conftest.$ac_objext > conftest.lst |
| 6106 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6107 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6108 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6109 |
+ |
ac_status=$? |
| 6110 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6111 |
+ |
test $ac_status = 0; } |
| 6112 |
+ |
if test "$ac_status" -eq 0; then |
| 6113 |
+ |
# Ensure the archiver fails upon bogus file names. |
| 6114 |
+ |
rm -f conftest.$ac_objext libconftest.a |
| 6115 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6116 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6117 |
+ |
ac_status=$? |
| 6118 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6119 |
+ |
test $ac_status = 0; } |
| 6120 |
+ |
if test "$ac_status" -ne 0; then |
| 6121 |
+ |
lt_cv_ar_at_file=@ |
| 6122 |
+ |
fi |
| 6123 |
+ |
fi |
| 6124 |
+ |
rm -f conftest.* libconftest.a |
| 6125 |
|
|
| 6126 |
+ |
fi |
| 6127 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6128 |
|
|
| 6129 |
+ |
fi |
| 6130 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6131 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
| 6132 |
|
|
| 6133 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
| 6134 |
+ |
archiver_list_spec= |
| 6135 |
+ |
else |
| 6136 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
| 6137 |
+ |
fi |
| 6138 |
|
|
| 6139 |
|
|
| 6140 |
|
|
| 6147 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 6148 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6149 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6150 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 6150 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 6151 |
|
$as_echo_n "(cached) " >&6 |
| 6152 |
|
else |
| 6153 |
|
if test -n "$STRIP"; then |
| 6159 |
|
IFS=$as_save_IFS |
| 6160 |
|
test -z "$as_dir" && as_dir=. |
| 6161 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6162 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6162 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6163 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6164 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6165 |
|
break 2 |
| 6187 |
|
set dummy strip; ac_word=$2 |
| 6188 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6189 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6190 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 6190 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 6191 |
|
$as_echo_n "(cached) " >&6 |
| 6192 |
|
else |
| 6193 |
|
if test -n "$ac_ct_STRIP"; then |
| 6199 |
|
IFS=$as_save_IFS |
| 6200 |
|
test -z "$as_dir" && as_dir=. |
| 6201 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6202 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6202 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6203 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6204 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6205 |
|
break 2 |
| 6246 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6247 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6248 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6249 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 6249 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 6250 |
|
$as_echo_n "(cached) " >&6 |
| 6251 |
|
else |
| 6252 |
|
if test -n "$RANLIB"; then |
| 6258 |
|
IFS=$as_save_IFS |
| 6259 |
|
test -z "$as_dir" && as_dir=. |
| 6260 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6261 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6261 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6262 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6263 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6264 |
|
break 2 |
| 6286 |
|
set dummy ranlib; ac_word=$2 |
| 6287 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6288 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6289 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 6289 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6290 |
|
$as_echo_n "(cached) " >&6 |
| 6291 |
|
else |
| 6292 |
|
if test -n "$ac_ct_RANLIB"; then |
| 6298 |
|
IFS=$as_save_IFS |
| 6299 |
|
test -z "$as_dir" && as_dir=. |
| 6300 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6301 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6301 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6302 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6303 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6304 |
|
break 2 |
| 6348 |
|
if test -n "$RANLIB"; then |
| 6349 |
|
case $host_os in |
| 6350 |
|
openbsd*) |
| 6351 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 6351 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 6352 |
|
;; |
| 6353 |
|
*) |
| 6354 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 6354 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 6355 |
|
;; |
| 6356 |
|
esac |
| 6357 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6357 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 6358 |
|
fi |
| 6359 |
|
|
| 6360 |
|
case $host_os in |
| 6415 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 6416 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6417 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 6418 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
| 6418 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 6419 |
|
$as_echo_n "(cached) " >&6 |
| 6420 |
|
else |
| 6421 |
|
|
| 6476 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 6477 |
|
|
| 6478 |
|
# Transform an extracted symbol line into symbol name and symbol address |
| 6479 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6480 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
| 6479 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6480 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
| 6481 |
|
|
| 6482 |
|
# Handle CRLF in mingw tool chain |
| 6483 |
|
opt_cr= |
| 6501 |
|
# which start with @ or ?. |
| 6502 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6503 |
|
" {last_section=section; section=\$ 3};"\ |
| 6504 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 6505 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 6506 |
|
" \$ 0!~/External *\|/{next};"\ |
| 6507 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 6514 |
|
else |
| 6515 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6516 |
|
fi |
| 6517 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
| 6518 |
|
|
| 6519 |
|
# Check to see that the pipe works correctly. |
| 6520 |
|
pipe_works=no |
| 6556 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 6557 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 6558 |
|
cat <<_LT_EOF > conftest.$ac_ext |
| 6559 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 6560 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 6561 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 6562 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 6563 |
+ |
# define LT_DLSYM_CONST |
| 6564 |
+ |
#elif defined(__osf__) |
| 6565 |
+ |
/* This system does not cope well with relocations in const data. */ |
| 6566 |
+ |
# define LT_DLSYM_CONST |
| 6567 |
+ |
#else |
| 6568 |
+ |
# define LT_DLSYM_CONST const |
| 6569 |
+ |
#endif |
| 6570 |
+ |
|
| 6571 |
|
#ifdef __cplusplus |
| 6572 |
|
extern "C" { |
| 6573 |
|
#endif |
| 6579 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
| 6580 |
|
|
| 6581 |
|
/* The mapping between symbol names and symbols. */ |
| 6582 |
< |
const struct { |
| 6582 |
> |
LT_DLSYM_CONST struct { |
| 6583 |
|
const char *name; |
| 6584 |
|
void *address; |
| 6585 |
|
} |
| 6605 |
|
_LT_EOF |
| 6606 |
|
# Now try linking the two files. |
| 6607 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
| 6608 |
< |
lt_save_LIBS="$LIBS" |
| 6609 |
< |
lt_save_CFLAGS="$CFLAGS" |
| 6608 |
> |
lt_globsym_save_LIBS=$LIBS |
| 6609 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
| 6610 |
|
LIBS="conftstm.$ac_objext" |
| 6611 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 6612 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 6616 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 6617 |
|
pipe_works=yes |
| 6618 |
|
fi |
| 6619 |
< |
LIBS="$lt_save_LIBS" |
| 6620 |
< |
CFLAGS="$lt_save_CFLAGS" |
| 6619 |
> |
LIBS=$lt_globsym_save_LIBS |
| 6620 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
| 6621 |
|
else |
| 6622 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
| 6623 |
|
fi |
| 6654 |
|
$as_echo "ok" >&6; } |
| 6655 |
|
fi |
| 6656 |
|
|
| 6657 |
+ |
# Response file support. |
| 6658 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6659 |
+ |
nm_file_list_spec='@' |
| 6660 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 6661 |
+ |
nm_file_list_spec='@' |
| 6662 |
+ |
fi |
| 6663 |
+ |
|
| 6664 |
+ |
|
| 6665 |
+ |
|
| 6666 |
+ |
|
| 6667 |
+ |
|
| 6668 |
+ |
|
| 6669 |
+ |
|
| 6670 |
+ |
|
| 6671 |
|
|
| 6672 |
|
|
| 6673 |
|
|
| 6687 |
|
|
| 6688 |
|
|
| 6689 |
|
|
| 6690 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 6691 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
| 6692 |
+ |
|
| 6693 |
+ |
# Check whether --with-sysroot was given. |
| 6694 |
+ |
if test "${with_sysroot+set}" = set; then : |
| 6695 |
+ |
withval=$with_sysroot; |
| 6696 |
+ |
else |
| 6697 |
+ |
with_sysroot=no |
| 6698 |
+ |
fi |
| 6699 |
+ |
|
| 6700 |
+ |
|
| 6701 |
+ |
lt_sysroot= |
| 6702 |
+ |
case ${with_sysroot} in #( |
| 6703 |
+ |
yes) |
| 6704 |
+ |
if test "$GCC" = yes; then |
| 6705 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 6706 |
+ |
fi |
| 6707 |
+ |
;; #( |
| 6708 |
+ |
/*) |
| 6709 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 6710 |
+ |
;; #( |
| 6711 |
+ |
no|'') |
| 6712 |
+ |
;; #( |
| 6713 |
+ |
*) |
| 6714 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
| 6715 |
+ |
$as_echo "${with_sysroot}" >&6; } |
| 6716 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 6717 |
+ |
;; |
| 6718 |
+ |
esac |
| 6719 |
+ |
|
| 6720 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 6721 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
| 6722 |
+ |
|
| 6723 |
+ |
|
| 6724 |
+ |
|
| 6725 |
|
|
| 6726 |
|
|
| 6727 |
|
# Check whether --enable-libtool-lock was given. |
| 6849 |
|
CFLAGS="$CFLAGS -belf" |
| 6850 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 6851 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 6852 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
| 6852 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
| 6853 |
|
$as_echo_n "(cached) " >&6 |
| 6854 |
|
else |
| 6855 |
|
ac_ext=c |
| 6890 |
|
CFLAGS="$SAVE_CFLAGS" |
| 6891 |
|
fi |
| 6892 |
|
;; |
| 6893 |
< |
sparc*-*solaris*) |
| 6893 |
> |
*-*solaris*) |
| 6894 |
|
# Find out which ABI we are using. |
| 6895 |
|
echo 'int i;' > conftest.$ac_ext |
| 6896 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6901 |
|
case `/usr/bin/file conftest.o` in |
| 6902 |
|
*64-bit*) |
| 6903 |
|
case $lt_cv_prog_gnu_ld in |
| 6904 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 6904 |
> |
yes*) |
| 6905 |
> |
case $host in |
| 6906 |
> |
i?86-*-solaris*) |
| 6907 |
> |
LD="${LD-ld} -m elf_x86_64" |
| 6908 |
> |
;; |
| 6909 |
> |
sparc*-*-solaris*) |
| 6910 |
> |
LD="${LD-ld} -m elf64_sparc" |
| 6911 |
> |
;; |
| 6912 |
> |
esac |
| 6913 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 6914 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 6915 |
> |
LD="${LD-ld}_sol2" |
| 6916 |
> |
fi |
| 6917 |
> |
;; |
| 6918 |
|
*) |
| 6919 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 6920 |
|
LD="${LD-ld} -64" |
| 6930 |
|
|
| 6931 |
|
need_locks="$enable_libtool_lock" |
| 6932 |
|
|
| 6933 |
+ |
if test -n "$ac_tool_prefix"; then |
| 6934 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 6935 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 6936 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6937 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6938 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 6939 |
+ |
$as_echo_n "(cached) " >&6 |
| 6940 |
+ |
else |
| 6941 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 6942 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 6943 |
+ |
else |
| 6944 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6945 |
+ |
for as_dir in $PATH |
| 6946 |
+ |
do |
| 6947 |
+ |
IFS=$as_save_IFS |
| 6948 |
+ |
test -z "$as_dir" && as_dir=. |
| 6949 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6950 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6951 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 6952 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6953 |
+ |
break 2 |
| 6954 |
+ |
fi |
| 6955 |
+ |
done |
| 6956 |
+ |
done |
| 6957 |
+ |
IFS=$as_save_IFS |
| 6958 |
+ |
|
| 6959 |
+ |
fi |
| 6960 |
+ |
fi |
| 6961 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 6962 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 6963 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 6964 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
| 6965 |
+ |
else |
| 6966 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6967 |
+ |
$as_echo "no" >&6; } |
| 6968 |
+ |
fi |
| 6969 |
+ |
|
| 6970 |
+ |
|
| 6971 |
+ |
fi |
| 6972 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 6973 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 6974 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
| 6975 |
+ |
set dummy mt; ac_word=$2 |
| 6976 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6977 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6978 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 6979 |
+ |
$as_echo_n "(cached) " >&6 |
| 6980 |
+ |
else |
| 6981 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 6982 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 6983 |
+ |
else |
| 6984 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6985 |
+ |
for as_dir in $PATH |
| 6986 |
+ |
do |
| 6987 |
+ |
IFS=$as_save_IFS |
| 6988 |
+ |
test -z "$as_dir" && as_dir=. |
| 6989 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6990 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6991 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 6992 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6993 |
+ |
break 2 |
| 6994 |
+ |
fi |
| 6995 |
+ |
done |
| 6996 |
+ |
done |
| 6997 |
+ |
IFS=$as_save_IFS |
| 6998 |
+ |
|
| 6999 |
+ |
fi |
| 7000 |
+ |
fi |
| 7001 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 7002 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7003 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7004 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7005 |
+ |
else |
| 7006 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7007 |
+ |
$as_echo "no" >&6; } |
| 7008 |
+ |
fi |
| 7009 |
+ |
|
| 7010 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 7011 |
+ |
MANIFEST_TOOL=":" |
| 7012 |
+ |
else |
| 7013 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 7014 |
+ |
yes:) |
| 7015 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7016 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7017 |
+ |
ac_tool_warned=yes ;; |
| 7018 |
+ |
esac |
| 7019 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 7020 |
+ |
fi |
| 7021 |
+ |
else |
| 7022 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 7023 |
+ |
fi |
| 7024 |
+ |
|
| 7025 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 7026 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7027 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7028 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
| 7029 |
+ |
$as_echo_n "(cached) " >&6 |
| 7030 |
+ |
else |
| 7031 |
+ |
lt_cv_path_mainfest_tool=no |
| 7032 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7033 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7034 |
+ |
cat conftest.err >&5 |
| 7035 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 7036 |
+ |
lt_cv_path_mainfest_tool=yes |
| 7037 |
+ |
fi |
| 7038 |
+ |
rm -f conftest* |
| 7039 |
+ |
fi |
| 7040 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7041 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7042 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 7043 |
+ |
MANIFEST_TOOL=: |
| 7044 |
+ |
fi |
| 7045 |
+ |
|
| 7046 |
+ |
|
| 7047 |
+ |
|
| 7048 |
+ |
|
| 7049 |
+ |
|
| 7050 |
|
|
| 7051 |
|
case $host_os in |
| 7052 |
|
rhapsody* | darwin*) |
| 7055 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 7056 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7057 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7058 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
| 7058 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 7059 |
|
$as_echo_n "(cached) " >&6 |
| 7060 |
|
else |
| 7061 |
|
if test -n "$DSYMUTIL"; then |
| 7067 |
|
IFS=$as_save_IFS |
| 7068 |
|
test -z "$as_dir" && as_dir=. |
| 7069 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7070 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7070 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7071 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 7072 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7073 |
|
break 2 |
| 7095 |
|
set dummy dsymutil; ac_word=$2 |
| 7096 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7097 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7098 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
| 7098 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 7099 |
|
$as_echo_n "(cached) " >&6 |
| 7100 |
|
else |
| 7101 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 7107 |
|
IFS=$as_save_IFS |
| 7108 |
|
test -z "$as_dir" && as_dir=. |
| 7109 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7110 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7110 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7111 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 7112 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7113 |
|
break 2 |
| 7147 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 7148 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7149 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7150 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
| 7150 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
| 7151 |
|
$as_echo_n "(cached) " >&6 |
| 7152 |
|
else |
| 7153 |
|
if test -n "$NMEDIT"; then |
| 7159 |
|
IFS=$as_save_IFS |
| 7160 |
|
test -z "$as_dir" && as_dir=. |
| 7161 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7162 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7162 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7163 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 7164 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7165 |
|
break 2 |
| 7187 |
|
set dummy nmedit; ac_word=$2 |
| 7188 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7189 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7190 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
| 7190 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 7191 |
|
$as_echo_n "(cached) " >&6 |
| 7192 |
|
else |
| 7193 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 7199 |
|
IFS=$as_save_IFS |
| 7200 |
|
test -z "$as_dir" && as_dir=. |
| 7201 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7202 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7202 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7203 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 7204 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7205 |
|
break 2 |
| 7239 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 7240 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7241 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7242 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
| 7242 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
| 7243 |
|
$as_echo_n "(cached) " >&6 |
| 7244 |
|
else |
| 7245 |
|
if test -n "$LIPO"; then |
| 7251 |
|
IFS=$as_save_IFS |
| 7252 |
|
test -z "$as_dir" && as_dir=. |
| 7253 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7254 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7254 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7255 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 7256 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7257 |
|
break 2 |
| 7279 |
|
set dummy lipo; ac_word=$2 |
| 7280 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7281 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7282 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
| 7282 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 7283 |
|
$as_echo_n "(cached) " >&6 |
| 7284 |
|
else |
| 7285 |
|
if test -n "$ac_ct_LIPO"; then |
| 7291 |
|
IFS=$as_save_IFS |
| 7292 |
|
test -z "$as_dir" && as_dir=. |
| 7293 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7294 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7294 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7295 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 7296 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7297 |
|
break 2 |
| 7331 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 7332 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7333 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7334 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
| 7334 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
| 7335 |
|
$as_echo_n "(cached) " >&6 |
| 7336 |
|
else |
| 7337 |
|
if test -n "$OTOOL"; then |
| 7343 |
|
IFS=$as_save_IFS |
| 7344 |
|
test -z "$as_dir" && as_dir=. |
| 7345 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7346 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7346 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7347 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 7348 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7349 |
|
break 2 |
| 7371 |
|
set dummy otool; ac_word=$2 |
| 7372 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7373 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7374 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
| 7374 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 7375 |
|
$as_echo_n "(cached) " >&6 |
| 7376 |
|
else |
| 7377 |
|
if test -n "$ac_ct_OTOOL"; then |
| 7383 |
|
IFS=$as_save_IFS |
| 7384 |
|
test -z "$as_dir" && as_dir=. |
| 7385 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7386 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7386 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7387 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 7388 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7389 |
|
break 2 |
| 7423 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 7424 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7425 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7426 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
| 7426 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
| 7427 |
|
$as_echo_n "(cached) " >&6 |
| 7428 |
|
else |
| 7429 |
|
if test -n "$OTOOL64"; then |
| 7435 |
|
IFS=$as_save_IFS |
| 7436 |
|
test -z "$as_dir" && as_dir=. |
| 7437 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7438 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7438 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7439 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 7440 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7441 |
|
break 2 |
| 7463 |
|
set dummy otool64; ac_word=$2 |
| 7464 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7465 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7466 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
| 7466 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 7467 |
|
$as_echo_n "(cached) " >&6 |
| 7468 |
|
else |
| 7469 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 7475 |
|
IFS=$as_save_IFS |
| 7476 |
|
test -z "$as_dir" && as_dir=. |
| 7477 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7478 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7478 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7479 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 7480 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7481 |
|
break 2 |
| 7538 |
|
|
| 7539 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 7540 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 7541 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
| 7541 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 7542 |
|
$as_echo_n "(cached) " >&6 |
| 7543 |
|
else |
| 7544 |
|
lt_cv_apple_cc_single_mod=no |
| 7554 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 7555 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 7556 |
|
_lt_result=$? |
| 7557 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 7557 |
> |
# If there is a non-empty error log, and "single_module" |
| 7558 |
> |
# appears in it, assume the flag caused a linker warning |
| 7559 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 7560 |
> |
cat conftest.err >&5 |
| 7561 |
> |
# Otherwise, if the output was created with a 0 exit code from |
| 7562 |
> |
# the compiler, it worked. |
| 7563 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 7564 |
|
lt_cv_apple_cc_single_mod=yes |
| 7565 |
|
else |
| 7566 |
|
cat conftest.err >&5 |
| 7571 |
|
fi |
| 7572 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7573 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7574 |
+ |
|
| 7575 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7576 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7577 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
| 7577 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 7578 |
|
$as_echo_n "(cached) " >&6 |
| 7579 |
|
else |
| 7580 |
|
lt_cv_ld_exported_symbols_list=no |
| 7604 |
|
fi |
| 7605 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7606 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7607 |
+ |
|
| 7608 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7609 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7610 |
< |
if test "${lt_cv_ld_force_load+set}" = set; then : |
| 7610 |
> |
if ${lt_cv_ld_force_load+:} false; then : |
| 7611 |
|
$as_echo_n "(cached) " >&6 |
| 7612 |
|
else |
| 7613 |
|
lt_cv_ld_force_load=no |
| 7626 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 7627 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 7628 |
|
_lt_result=$? |
| 7629 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 7629 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 7630 |
> |
cat conftest.err >&5 |
| 7631 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 7632 |
|
lt_cv_ld_force_load=yes |
| 7633 |
|
else |
| 7634 |
|
cat conftest.err >&5 |
| 7686 |
|
CPP= |
| 7687 |
|
fi |
| 7688 |
|
if test -z "$CPP"; then |
| 7689 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 7689 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
| 7690 |
|
$as_echo_n "(cached) " >&6 |
| 7691 |
|
else |
| 7692 |
|
# Double quotes because CPP needs to be expanded |
| 7716 |
|
# Broken: fails on valid input. |
| 7717 |
|
continue |
| 7718 |
|
fi |
| 7719 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7719 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7720 |
|
|
| 7721 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7722 |
|
# can be detected and how. |
| 7732 |
|
ac_preproc_ok=: |
| 7733 |
|
break |
| 7734 |
|
fi |
| 7735 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7735 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7736 |
|
|
| 7737 |
|
done |
| 7738 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7739 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7739 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7740 |
|
if $ac_preproc_ok; then : |
| 7741 |
|
break |
| 7742 |
|
fi |
| 7775 |
|
# Broken: fails on valid input. |
| 7776 |
|
continue |
| 7777 |
|
fi |
| 7778 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7778 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7779 |
|
|
| 7780 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7781 |
|
# can be detected and how. |
| 7791 |
|
ac_preproc_ok=: |
| 7792 |
|
break |
| 7793 |
|
fi |
| 7794 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7794 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7795 |
|
|
| 7796 |
|
done |
| 7797 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7798 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7798 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7799 |
|
if $ac_preproc_ok; then : |
| 7800 |
|
|
| 7801 |
|
else |
| 7802 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7803 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7804 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 7805 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 7804 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 7805 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 7806 |
|
fi |
| 7807 |
|
|
| 7808 |
|
ac_ext=c |
| 7814 |
|
|
| 7815 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7816 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7817 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7817 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 7818 |
|
$as_echo_n "(cached) " >&6 |
| 7819 |
|
else |
| 7820 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7931 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7932 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7933 |
|
" |
| 7934 |
< |
eval as_val=\$$as_ac_Header |
| 7374 |
< |
if test "x$as_val" = x""yes; then : |
| 7934 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 7935 |
|
cat >>confdefs.h <<_ACEOF |
| 7936 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7937 |
|
_ACEOF |
| 7945 |
|
do : |
| 7946 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 7947 |
|
" |
| 7948 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
| 7948 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 7949 |
|
cat >>confdefs.h <<_ACEOF |
| 7950 |
|
#define HAVE_DLFCN_H 1 |
| 7951 |
|
_ACEOF |
| 8031 |
|
|
| 8032 |
|
# Check whether --with-pic was given. |
| 8033 |
|
if test "${with_pic+set}" = set; then : |
| 8034 |
< |
withval=$with_pic; pic_mode="$withval" |
| 8034 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8035 |
> |
case $withval in |
| 8036 |
> |
yes|no) pic_mode=$withval ;; |
| 8037 |
> |
*) |
| 8038 |
> |
pic_mode=default |
| 8039 |
> |
# Look at the argument we got. We use all the common list separators. |
| 8040 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8041 |
> |
for lt_pkg in $withval; do |
| 8042 |
> |
IFS="$lt_save_ifs" |
| 8043 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
| 8044 |
> |
pic_mode=yes |
| 8045 |
> |
fi |
| 8046 |
> |
done |
| 8047 |
> |
IFS="$lt_save_ifs" |
| 8048 |
> |
;; |
| 8049 |
> |
esac |
| 8050 |
|
else |
| 8051 |
|
pic_mode=default |
| 8052 |
|
fi |
| 8124 |
|
|
| 8125 |
|
|
| 8126 |
|
|
| 8127 |
+ |
|
| 8128 |
+ |
|
| 8129 |
+ |
|
| 8130 |
+ |
|
| 8131 |
|
test -z "$LN_S" && LN_S="ln -s" |
| 8132 |
|
|
| 8133 |
|
|
| 8149 |
|
|
| 8150 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8151 |
|
$as_echo_n "checking for objdir... " >&6; } |
| 8152 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
| 8152 |
> |
if ${lt_cv_objdir+:} false; then : |
| 8153 |
|
$as_echo_n "(cached) " >&6 |
| 8154 |
|
else |
| 8155 |
|
rm -f .libs 2>/dev/null |
| 8227 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 8228 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 8229 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 8230 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8230 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8231 |
|
$as_echo_n "(cached) " >&6 |
| 8232 |
|
else |
| 8233 |
|
case $MAGIC_CMD in |
| 8293 |
|
if test -n "$ac_tool_prefix"; then |
| 8294 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8295 |
|
$as_echo_n "checking for file... " >&6; } |
| 8296 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8296 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8297 |
|
$as_echo_n "(cached) " >&6 |
| 8298 |
|
else |
| 8299 |
|
case $MAGIC_CMD in |
| 8431 |
|
|
| 8432 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 8433 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8434 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
| 8434 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 8435 |
|
$as_echo_n "(cached) " >&6 |
| 8436 |
|
else |
| 8437 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 8484 |
|
lt_prog_compiler_pic= |
| 8485 |
|
lt_prog_compiler_static= |
| 8486 |
|
|
| 7908 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 7909 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8487 |
|
|
| 8488 |
|
if test "$GCC" = yes; then |
| 8489 |
|
lt_prog_compiler_wl='-Wl,' |
| 8583 |
|
case $cc_basename in |
| 8584 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 8585 |
|
lt_prog_compiler_wl='-Xlinker ' |
| 8586 |
< |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 8586 |
> |
if test -n "$lt_prog_compiler_pic"; then |
| 8587 |
> |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 8588 |
> |
fi |
| 8589 |
|
;; |
| 8590 |
|
esac |
| 8591 |
|
else |
| 8650 |
|
lt_prog_compiler_pic='--shared' |
| 8651 |
|
lt_prog_compiler_static='--static' |
| 8652 |
|
;; |
| 8653 |
+ |
nagfor*) |
| 8654 |
+ |
# NAG Fortran compiler |
| 8655 |
+ |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 8656 |
+ |
lt_prog_compiler_pic='-PIC' |
| 8657 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8658 |
+ |
;; |
| 8659 |
|
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 8660 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 8661 |
|
# which looks to be a dead project) |
| 8676 |
|
;; |
| 8677 |
|
*) |
| 8678 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 8679 |
< |
*Sun\ F* | *Sun*Fortran*) |
| 8679 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 8680 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 8681 |
|
lt_prog_compiler_pic='-KPIC' |
| 8682 |
|
lt_prog_compiler_static='-Bstatic' |
| 8683 |
|
lt_prog_compiler_wl='' |
| 8684 |
|
;; |
| 8685 |
+ |
*Sun\ F* | *Sun*Fortran*) |
| 8686 |
+ |
lt_prog_compiler_pic='-KPIC' |
| 8687 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8688 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
| 8689 |
+ |
;; |
| 8690 |
|
*Sun\ C*) |
| 8691 |
|
# Sun C 5.9 |
| 8692 |
|
lt_prog_compiler_pic='-KPIC' |
| 8693 |
|
lt_prog_compiler_static='-Bstatic' |
| 8694 |
|
lt_prog_compiler_wl='-Wl,' |
| 8695 |
|
;; |
| 8696 |
+ |
*Intel*\ [CF]*Compiler*) |
| 8697 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8698 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 8699 |
+ |
lt_prog_compiler_static='-static' |
| 8700 |
+ |
;; |
| 8701 |
+ |
*Portland\ Group*) |
| 8702 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8703 |
+ |
lt_prog_compiler_pic='-fpic' |
| 8704 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8705 |
+ |
;; |
| 8706 |
|
esac |
| 8707 |
|
;; |
| 8708 |
|
esac |
| 8790 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 8791 |
|
;; |
| 8792 |
|
esac |
| 8193 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
| 8194 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
| 8195 |
– |
|
| 8196 |
– |
|
| 8197 |
– |
|
| 8198 |
– |
|
| 8793 |
|
|
| 8794 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 8795 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8796 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
| 8797 |
+ |
$as_echo_n "(cached) " >&6 |
| 8798 |
+ |
else |
| 8799 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 8800 |
+ |
fi |
| 8801 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 8802 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 8803 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 8804 |
|
|
| 8805 |
|
# |
| 8806 |
|
# Check to make sure the PIC flag actually works. |
| 8808 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 8809 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 8810 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 8811 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
| 8811 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 8812 |
|
$as_echo_n "(cached) " >&6 |
| 8813 |
|
else |
| 8814 |
|
lt_cv_prog_compiler_pic_works=no |
| 8861 |
|
|
| 8862 |
|
|
| 8863 |
|
|
| 8864 |
+ |
|
| 8865 |
+ |
|
| 8866 |
+ |
|
| 8867 |
+ |
|
| 8868 |
+ |
|
| 8869 |
|
# |
| 8870 |
|
# Check to make sure the static flag actually works. |
| 8871 |
|
# |
| 8872 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 8873 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 8874 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 8875 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
| 8875 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 8876 |
|
$as_echo_n "(cached) " >&6 |
| 8877 |
|
else |
| 8878 |
|
lt_cv_prog_compiler_static_works=no |
| 8915 |
|
|
| 8916 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8917 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8918 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8918 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 8919 |
|
$as_echo_n "(cached) " >&6 |
| 8920 |
|
else |
| 8921 |
|
lt_cv_prog_compiler_c_o=no |
| 8970 |
|
|
| 8971 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8972 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8973 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8973 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 8974 |
|
$as_echo_n "(cached) " >&6 |
| 8975 |
|
else |
| 8976 |
|
lt_cv_prog_compiler_c_o=no |
| 9064 |
|
hardcode_direct=no |
| 9065 |
|
hardcode_direct_absolute=no |
| 9066 |
|
hardcode_libdir_flag_spec= |
| 8458 |
– |
hardcode_libdir_flag_spec_ld= |
| 9067 |
|
hardcode_libdir_separator= |
| 9068 |
|
hardcode_minus_L=no |
| 9069 |
|
hardcode_shlibpath_var=unsupported |
| 9215 |
|
allow_undefined_flag=unsupported |
| 9216 |
|
always_export_symbols=no |
| 9217 |
|
enable_shared_with_static_runtimes=yes |
| 9218 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9218 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 9219 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 9220 |
|
|
| 9221 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 9222 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 9264 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 9265 |
|
&& test "$tmp_diet" = no |
| 9266 |
|
then |
| 9267 |
< |
tmp_addflag= |
| 9267 |
> |
tmp_addflag=' $pic_flag' |
| 9268 |
|
tmp_sharedflag='-shared' |
| 9269 |
|
case $cc_basename,$host_cpu in |
| 9270 |
|
pgcc*) # Portland Group C compiler |
| 9313 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 9314 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 9315 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 9316 |
< |
hardcode_libdir_flag_spec= |
| 8708 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 9316 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9317 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 9318 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 9319 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9333 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9334 |
|
wlarc= |
| 9335 |
|
else |
| 9336 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9337 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9336 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9337 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9338 |
|
fi |
| 9339 |
|
;; |
| 9340 |
|
|
| 9352 |
|
|
| 9353 |
|
_LT_EOF |
| 9354 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9355 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9356 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9355 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9356 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9357 |
|
else |
| 9358 |
|
ld_shlibs=no |
| 9359 |
|
fi |
| 9399 |
|
|
| 9400 |
|
*) |
| 9401 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9402 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9403 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9402 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9403 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9404 |
|
else |
| 9405 |
|
ld_shlibs=no |
| 9406 |
|
fi |
| 9530 |
|
allow_undefined_flag='-berok' |
| 9531 |
|
# Determine the default libpath from the value encoded in an |
| 9532 |
|
# empty executable. |
| 9533 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9533 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9534 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9535 |
> |
else |
| 9536 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9537 |
> |
$as_echo_n "(cached) " >&6 |
| 9538 |
> |
else |
| 9539 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9540 |
|
/* end confdefs.h. */ |
| 9541 |
|
|
| 9542 |
|
int |
| 9549 |
|
_ACEOF |
| 9550 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9551 |
|
|
| 9552 |
< |
lt_aix_libpath_sed=' |
| 9553 |
< |
/Import File Strings/,/^$/ { |
| 9554 |
< |
/^0/ { |
| 9555 |
< |
s/^0 *\(.*\)$/\1/ |
| 9556 |
< |
p |
| 9557 |
< |
} |
| 9558 |
< |
}' |
| 9559 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9560 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9561 |
< |
if test -z "$aix_libpath"; then |
| 9562 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9563 |
< |
fi |
| 9552 |
> |
lt_aix_libpath_sed=' |
| 9553 |
> |
/Import File Strings/,/^$/ { |
| 9554 |
> |
/^0/ { |
| 9555 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9556 |
> |
p |
| 9557 |
> |
} |
| 9558 |
> |
}' |
| 9559 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9560 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9561 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9562 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9563 |
> |
fi |
| 9564 |
|
fi |
| 9565 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9566 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9567 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9567 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9568 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9569 |
> |
fi |
| 9570 |
> |
|
| 9571 |
> |
fi |
| 9572 |
> |
|
| 9573 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9574 |
> |
fi |
| 9575 |
|
|
| 9576 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9577 |
|
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" |
| 9583 |
|
else |
| 9584 |
|
# Determine the default libpath from the value encoded in an |
| 9585 |
|
# empty executable. |
| 9586 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9586 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9587 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9588 |
> |
else |
| 9589 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9590 |
> |
$as_echo_n "(cached) " >&6 |
| 9591 |
> |
else |
| 9592 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9593 |
|
/* end confdefs.h. */ |
| 9594 |
|
|
| 9595 |
|
int |
| 9602 |
|
_ACEOF |
| 9603 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9604 |
|
|
| 9605 |
< |
lt_aix_libpath_sed=' |
| 9606 |
< |
/Import File Strings/,/^$/ { |
| 9607 |
< |
/^0/ { |
| 9608 |
< |
s/^0 *\(.*\)$/\1/ |
| 9609 |
< |
p |
| 9610 |
< |
} |
| 9611 |
< |
}' |
| 9612 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9613 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9614 |
< |
if test -z "$aix_libpath"; then |
| 9615 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9616 |
< |
fi |
| 9605 |
> |
lt_aix_libpath_sed=' |
| 9606 |
> |
/Import File Strings/,/^$/ { |
| 9607 |
> |
/^0/ { |
| 9608 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9609 |
> |
p |
| 9610 |
> |
} |
| 9611 |
> |
}' |
| 9612 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9613 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9614 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9615 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9616 |
> |
fi |
| 9617 |
|
fi |
| 9618 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9619 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9620 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9620 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9621 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9622 |
> |
fi |
| 9623 |
> |
|
| 9624 |
> |
fi |
| 9625 |
> |
|
| 9626 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9627 |
> |
fi |
| 9628 |
|
|
| 9629 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9630 |
|
# Warning - without using the other run time loading flags, |
| 9669 |
|
# Microsoft Visual C++. |
| 9670 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 9671 |
|
# no search path for DLLs. |
| 9672 |
< |
hardcode_libdir_flag_spec=' ' |
| 9673 |
< |
allow_undefined_flag=unsupported |
| 9674 |
< |
# Tell ltmain to make .lib files, not .a files. |
| 9675 |
< |
libext=lib |
| 9676 |
< |
# Tell ltmain to make .dll files, not .so files. |
| 9677 |
< |
shrext_cmds=".dll" |
| 9678 |
< |
# FIXME: Setting linknames here is a bad hack. |
| 9679 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9680 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
| 9681 |
< |
old_archive_from_new_cmds='true' |
| 9682 |
< |
# FIXME: Should let the user specify the lib program. |
| 9683 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9684 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
| 9685 |
< |
enable_shared_with_static_runtimes=yes |
| 9672 |
> |
case $cc_basename in |
| 9673 |
> |
cl*) |
| 9674 |
> |
# Native MSVC |
| 9675 |
> |
hardcode_libdir_flag_spec=' ' |
| 9676 |
> |
allow_undefined_flag=unsupported |
| 9677 |
> |
always_export_symbols=yes |
| 9678 |
> |
file_list_spec='@' |
| 9679 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9680 |
> |
libext=lib |
| 9681 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9682 |
> |
shrext_cmds=".dll" |
| 9683 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9684 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
| 9685 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 9686 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
| 9687 |
> |
else |
| 9688 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
| 9689 |
> |
fi~ |
| 9690 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 9691 |
> |
linknames=' |
| 9692 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
| 9693 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 9694 |
> |
enable_shared_with_static_runtimes=yes |
| 9695 |
> |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 9696 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9697 |
> |
# Don't use ranlib |
| 9698 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
| 9699 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 9700 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 9701 |
> |
case $lt_outputfile in |
| 9702 |
> |
*.exe|*.EXE) ;; |
| 9703 |
> |
*) |
| 9704 |
> |
lt_outputfile="$lt_outputfile.exe" |
| 9705 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 9706 |
> |
;; |
| 9707 |
> |
esac~ |
| 9708 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
| 9709 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 9710 |
> |
$RM "$lt_outputfile.manifest"; |
| 9711 |
> |
fi' |
| 9712 |
> |
;; |
| 9713 |
> |
*) |
| 9714 |
> |
# Assume MSVC wrapper |
| 9715 |
> |
hardcode_libdir_flag_spec=' ' |
| 9716 |
> |
allow_undefined_flag=unsupported |
| 9717 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9718 |
> |
libext=lib |
| 9719 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9720 |
> |
shrext_cmds=".dll" |
| 9721 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9722 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9723 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
| 9724 |
> |
old_archive_from_new_cmds='true' |
| 9725 |
> |
# FIXME: Should let the user specify the lib program. |
| 9726 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9727 |
> |
enable_shared_with_static_runtimes=yes |
| 9728 |
> |
;; |
| 9729 |
> |
esac |
| 9730 |
|
;; |
| 9731 |
|
|
| 9732 |
|
darwin* | rhapsody*) |
| 9738 |
|
hardcode_shlibpath_var=unsupported |
| 9739 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
| 9740 |
|
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\"`' |
| 9741 |
+ |
|
| 9742 |
|
else |
| 9743 |
|
whole_archive_flag_spec='' |
| 9744 |
|
fi |
| 9767 |
|
hardcode_shlibpath_var=no |
| 9768 |
|
;; |
| 9769 |
|
|
| 9091 |
– |
freebsd1*) |
| 9092 |
– |
ld_shlibs=no |
| 9093 |
– |
;; |
| 9094 |
– |
|
| 9770 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 9771 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 9772 |
|
# does not break anything, and helps significantly (at the cost of a little |
| 9779 |
|
;; |
| 9780 |
|
|
| 9781 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 9782 |
< |
freebsd2*) |
| 9782 |
> |
freebsd2.*) |
| 9783 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 9784 |
|
hardcode_direct=yes |
| 9785 |
|
hardcode_minus_L=yes |
| 9788 |
|
|
| 9789 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 9790 |
|
freebsd* | dragonfly*) |
| 9791 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 9791 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 9792 |
|
hardcode_libdir_flag_spec='-R$libdir' |
| 9793 |
|
hardcode_direct=yes |
| 9794 |
|
hardcode_shlibpath_var=no |
| 9796 |
|
|
| 9797 |
|
hpux9*) |
| 9798 |
|
if test "$GCC" = yes; then |
| 9799 |
< |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9799 |
> |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9800 |
|
else |
| 9801 |
|
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9802 |
|
fi |
| 9812 |
|
|
| 9813 |
|
hpux10*) |
| 9814 |
|
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 9815 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9815 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9816 |
|
else |
| 9817 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 9818 |
|
fi |
| 9819 |
|
if test "$with_gnu_ld" = no; then |
| 9820 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 9146 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 9821 |
|
hardcode_libdir_separator=: |
| 9822 |
|
hardcode_direct=yes |
| 9823 |
|
hardcode_direct_absolute=yes |
| 9835 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9836 |
|
;; |
| 9837 |
|
ia64*) |
| 9838 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9838 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9839 |
|
;; |
| 9840 |
|
*) |
| 9841 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9841 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9842 |
|
;; |
| 9843 |
|
esac |
| 9844 |
|
else |
| 9855 |
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 9856 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 9857 |
|
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 9858 |
< |
if test "${lt_cv_prog_compiler__b+set}" = set; then : |
| 9858 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
| 9859 |
|
$as_echo_n "(cached) " >&6 |
| 9860 |
|
else |
| 9861 |
|
lt_cv_prog_compiler__b=no |
| 9917 |
|
|
| 9918 |
|
irix5* | irix6* | nonstopux*) |
| 9919 |
|
if test "$GCC" = yes; then |
| 9920 |
< |
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' |
| 9920 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 9921 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 9922 |
|
# work, assume that -exports_file does not work either and |
| 9923 |
|
# implicitly export all symbols. |
| 9924 |
< |
save_LDFLAGS="$LDFLAGS" |
| 9925 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 9926 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9924 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
| 9925 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 9926 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 9927 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
| 9928 |
> |
$as_echo_n "(cached) " >&6 |
| 9929 |
> |
else |
| 9930 |
> |
save_LDFLAGS="$LDFLAGS" |
| 9931 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 9932 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9933 |
|
/* end confdefs.h. */ |
| 9934 |
< |
int foo(void) {} |
| 9934 |
> |
int foo (void) { return 0; } |
| 9935 |
|
_ACEOF |
| 9936 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9937 |
< |
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' |
| 9938 |
< |
|
| 9937 |
> |
lt_cv_irix_exported_symbol=yes |
| 9938 |
> |
else |
| 9939 |
> |
lt_cv_irix_exported_symbol=no |
| 9940 |
|
fi |
| 9941 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9942 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9943 |
< |
LDFLAGS="$save_LDFLAGS" |
| 9943 |
> |
LDFLAGS="$save_LDFLAGS" |
| 9944 |
> |
fi |
| 9945 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 9946 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 9947 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
| 9948 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 9949 |
> |
fi |
| 9950 |
|
else |
| 9951 |
|
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' |
| 9952 |
|
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' |
| 10031 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 10032 |
|
if test "$GCC" = yes; then |
| 10033 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 10034 |
< |
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' |
| 10034 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10035 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10036 |
|
else |
| 10037 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 10050 |
|
no_undefined_flag=' -z defs' |
| 10051 |
|
if test "$GCC" = yes; then |
| 10052 |
|
wlarc='${wl}' |
| 10053 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10053 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10054 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 10055 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 10055 |
> |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 10056 |
|
else |
| 10057 |
|
case `$CC -V 2>&1` in |
| 10058 |
|
*"Compilers 5.0"*) |
| 10240 |
|
# to ld, don't add -lc before -lgcc. |
| 10241 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 10242 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 10243 |
< |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : |
| 10243 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 10244 |
|
$as_echo_n "(cached) " >&6 |
| 10245 |
|
else |
| 10246 |
|
$RM conftest* |
| 10441 |
|
|
| 10442 |
|
|
| 10443 |
|
|
| 9757 |
– |
|
| 9758 |
– |
|
| 9759 |
– |
|
| 9760 |
– |
|
| 9761 |
– |
|
| 10444 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10445 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 10446 |
|
|
| 10530 |
|
|
| 10531 |
|
case $host_os in |
| 10532 |
|
aix3*) |
| 10533 |
< |
version_type=linux |
| 10533 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10534 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 10535 |
|
shlibpath_var=LIBPATH |
| 10536 |
|
|
| 10539 |
|
;; |
| 10540 |
|
|
| 10541 |
|
aix[4-9]*) |
| 10542 |
< |
version_type=linux |
| 10542 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10543 |
|
need_lib_prefix=no |
| 10544 |
|
need_version=no |
| 10545 |
|
hardcode_into_libs=yes |
| 10604 |
|
;; |
| 10605 |
|
|
| 10606 |
|
bsdi[45]*) |
| 10607 |
< |
version_type=linux |
| 10607 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10608 |
|
need_version=no |
| 10609 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 10610 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10623 |
|
need_version=no |
| 10624 |
|
need_lib_prefix=no |
| 10625 |
|
|
| 10626 |
< |
case $GCC,$host_os in |
| 10627 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 10626 |
> |
case $GCC,$cc_basename in |
| 10627 |
> |
yes,*) |
| 10628 |
> |
# gcc |
| 10629 |
|
library_names_spec='$libname.dll.a' |
| 10630 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10631 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
| 10658 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10659 |
|
;; |
| 10660 |
|
esac |
| 10661 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10662 |
+ |
;; |
| 10663 |
+ |
|
| 10664 |
+ |
*,cl*) |
| 10665 |
+ |
# Native MSVC |
| 10666 |
+ |
libname_spec='$name' |
| 10667 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10668 |
+ |
library_names_spec='${libname}.dll.lib' |
| 10669 |
+ |
|
| 10670 |
+ |
case $build_os in |
| 10671 |
+ |
mingw*) |
| 10672 |
+ |
sys_lib_search_path_spec= |
| 10673 |
+ |
lt_save_ifs=$IFS |
| 10674 |
+ |
IFS=';' |
| 10675 |
+ |
for lt_path in $LIB |
| 10676 |
+ |
do |
| 10677 |
+ |
IFS=$lt_save_ifs |
| 10678 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
| 10679 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 10680 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 10681 |
+ |
done |
| 10682 |
+ |
IFS=$lt_save_ifs |
| 10683 |
+ |
# Convert to MSYS style. |
| 10684 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 10685 |
+ |
;; |
| 10686 |
+ |
cygwin*) |
| 10687 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
| 10688 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
| 10689 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
| 10690 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 10691 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 10692 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10693 |
+ |
;; |
| 10694 |
+ |
*) |
| 10695 |
+ |
sys_lib_search_path_spec="$LIB" |
| 10696 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 10697 |
+ |
# It is most probably a Windows format PATH. |
| 10698 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 10699 |
+ |
else |
| 10700 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10701 |
+ |
fi |
| 10702 |
+ |
# FIXME: find the short name or the path components, as spaces are |
| 10703 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
| 10704 |
+ |
;; |
| 10705 |
+ |
esac |
| 10706 |
+ |
|
| 10707 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10708 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
| 10709 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 10710 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
| 10711 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
| 10712 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
| 10713 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 10714 |
+ |
dlpath=$dir/\$dldll~ |
| 10715 |
+ |
$RM \$dlpath' |
| 10716 |
+ |
shlibpath_overrides_runpath=yes |
| 10717 |
+ |
dynamic_linker='Win32 link.exe' |
| 10718 |
|
;; |
| 10719 |
|
|
| 10720 |
|
*) |
| 10721 |
+ |
# Assume MSVC wrapper |
| 10722 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 10723 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10724 |
|
;; |
| 10725 |
|
esac |
| 9984 |
– |
dynamic_linker='Win32 ld.exe' |
| 10726 |
|
# FIXME: first we should search . and the directory the executable is in |
| 10727 |
|
shlibpath_var=PATH |
| 10728 |
|
;; |
| 10743 |
|
;; |
| 10744 |
|
|
| 10745 |
|
dgux*) |
| 10746 |
< |
version_type=linux |
| 10746 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10747 |
|
need_lib_prefix=no |
| 10748 |
|
need_version=no |
| 10749 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 10751 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10752 |
|
;; |
| 10753 |
|
|
| 10013 |
– |
freebsd1*) |
| 10014 |
– |
dynamic_linker=no |
| 10015 |
– |
;; |
| 10016 |
– |
|
| 10754 |
|
freebsd* | dragonfly*) |
| 10755 |
|
# DragonFly does not have aout. When/if they implement a new |
| 10756 |
|
# versioning mechanism, adjust this. |
| 10758 |
|
objformat=`/usr/bin/objformat` |
| 10759 |
|
else |
| 10760 |
|
case $host_os in |
| 10761 |
< |
freebsd[123]*) objformat=aout ;; |
| 10761 |
> |
freebsd[23].*) objformat=aout ;; |
| 10762 |
|
*) objformat=elf ;; |
| 10763 |
|
esac |
| 10764 |
|
fi |
| 10776 |
|
esac |
| 10777 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10778 |
|
case $host_os in |
| 10779 |
< |
freebsd2*) |
| 10779 |
> |
freebsd2.*) |
| 10780 |
|
shlibpath_overrides_runpath=yes |
| 10781 |
|
;; |
| 10782 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
| 10796 |
|
;; |
| 10797 |
|
|
| 10798 |
|
gnu*) |
| 10799 |
< |
version_type=linux |
| 10799 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10800 |
|
need_lib_prefix=no |
| 10801 |
|
need_version=no |
| 10802 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 10803 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10804 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10805 |
+ |
shlibpath_overrides_runpath=no |
| 10806 |
|
hardcode_into_libs=yes |
| 10807 |
|
;; |
| 10808 |
|
|
| 10809 |
|
haiku*) |
| 10810 |
< |
version_type=linux |
| 10810 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10811 |
|
need_lib_prefix=no |
| 10812 |
|
need_version=no |
| 10813 |
|
dynamic_linker="$host_os runtime_loader" |
| 10868 |
|
;; |
| 10869 |
|
|
| 10870 |
|
interix[3-9]*) |
| 10871 |
< |
version_type=linux |
| 10871 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10872 |
|
need_lib_prefix=no |
| 10873 |
|
need_version=no |
| 10874 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 10884 |
|
nonstopux*) version_type=nonstopux ;; |
| 10885 |
|
*) |
| 10886 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 10887 |
< |
version_type=linux |
| 10887 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10888 |
|
else |
| 10889 |
|
version_type=irix |
| 10890 |
|
fi ;; |
| 10921 |
|
dynamic_linker=no |
| 10922 |
|
;; |
| 10923 |
|
|
| 10924 |
< |
# This must be Linux ELF. |
| 10924 |
> |
# This must be glibc/ELF. |
| 10925 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 10926 |
< |
version_type=linux |
| 10926 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10927 |
|
need_lib_prefix=no |
| 10928 |
|
need_version=no |
| 10929 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 10933 |
|
shlibpath_overrides_runpath=no |
| 10934 |
|
|
| 10935 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 10936 |
< |
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : |
| 10936 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 10937 |
|
$as_echo_n "(cached) " >&6 |
| 10938 |
|
else |
| 10939 |
|
lt_cv_shlibpath_overrides_runpath=no |
| 11005 |
|
;; |
| 11006 |
|
|
| 11007 |
|
newsos6) |
| 11008 |
< |
version_type=linux |
| 11008 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11009 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11010 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11011 |
|
shlibpath_overrides_runpath=yes |
| 11074 |
|
;; |
| 11075 |
|
|
| 11076 |
|
solaris*) |
| 11077 |
< |
version_type=linux |
| 11077 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11078 |
|
need_lib_prefix=no |
| 11079 |
|
need_version=no |
| 11080 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11099 |
|
;; |
| 11100 |
|
|
| 11101 |
|
sysv4 | sysv4.3*) |
| 11102 |
< |
version_type=linux |
| 11102 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11103 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11104 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11105 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11123 |
|
|
| 11124 |
|
sysv4*MP*) |
| 11125 |
|
if test -d /usr/nec ;then |
| 11126 |
< |
version_type=linux |
| 11126 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11127 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 11128 |
|
soname_spec='$libname${shared_ext}.$major' |
| 11129 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11154 |
|
|
| 11155 |
|
tpf*) |
| 11156 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 11157 |
< |
version_type=linux |
| 11157 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11158 |
|
need_lib_prefix=no |
| 11159 |
|
need_version=no |
| 11160 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11164 |
|
;; |
| 11165 |
|
|
| 11166 |
|
uts4*) |
| 11167 |
< |
version_type=linux |
| 11167 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11168 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11169 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11170 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11353 |
|
# if libdl is installed we need to link against it |
| 11354 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11355 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11356 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11356 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11357 |
|
$as_echo_n "(cached) " >&6 |
| 11358 |
|
else |
| 11359 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11387 |
|
fi |
| 11388 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11389 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11390 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11390 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11391 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11392 |
|
else |
| 11393 |
|
|
| 11401 |
|
|
| 11402 |
|
*) |
| 11403 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 11404 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 11404 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 11405 |
|
lt_cv_dlopen="shl_load" |
| 11406 |
|
else |
| 11407 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 11408 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 11409 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 11409 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 11410 |
|
$as_echo_n "(cached) " >&6 |
| 11411 |
|
else |
| 11412 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11440 |
|
fi |
| 11441 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 11442 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 11443 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 11443 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 11444 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 11445 |
|
else |
| 11446 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 11447 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
| 11447 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
| 11448 |
|
lt_cv_dlopen="dlopen" |
| 11449 |
|
else |
| 11450 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11451 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11452 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11452 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11453 |
|
$as_echo_n "(cached) " >&6 |
| 11454 |
|
else |
| 11455 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11483 |
|
fi |
| 11484 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11485 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11486 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11486 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11487 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11488 |
|
else |
| 11489 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 11490 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 11491 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 11491 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 11492 |
|
$as_echo_n "(cached) " >&6 |
| 11493 |
|
else |
| 11494 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11522 |
|
fi |
| 11523 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 11524 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 11525 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 11525 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 11526 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 11527 |
|
else |
| 11528 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 11529 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 11530 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 11530 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 11531 |
|
$as_echo_n "(cached) " >&6 |
| 11532 |
|
else |
| 11533 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11561 |
|
fi |
| 11562 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 11563 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 11564 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 11564 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 11565 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 11566 |
|
fi |
| 11567 |
|
|
| 11602 |
|
|
| 11603 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 11604 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 11605 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
| 11605 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
| 11606 |
|
$as_echo_n "(cached) " >&6 |
| 11607 |
|
else |
| 11608 |
|
if test "$cross_compiling" = yes; then : |
| 11655 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11656 |
|
correspondingly for the symbols needed. */ |
| 11657 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11658 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11658 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11659 |
|
#endif |
| 11660 |
|
|
| 11661 |
< |
void fnord () { int i=42; } |
| 11661 |
> |
int fnord () { return 42; } |
| 11662 |
|
int main () |
| 11663 |
|
{ |
| 11664 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11708 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 11709 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 11710 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 11711 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
| 11711 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
| 11712 |
|
$as_echo_n "(cached) " >&6 |
| 11713 |
|
else |
| 11714 |
|
if test "$cross_compiling" = yes; then : |
| 11761 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11762 |
|
correspondingly for the symbols needed. */ |
| 11763 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11764 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11764 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11765 |
|
#endif |
| 11766 |
|
|
| 11767 |
< |
void fnord () { int i=42; } |
| 11767 |
> |
int fnord () { return 42; } |
| 11768 |
|
int main () |
| 11769 |
|
{ |
| 11770 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11946 |
|
|
| 11947 |
|
|
| 11948 |
|
|
| 11949 |
+ |
|
| 11950 |
+ |
|
| 11951 |
|
ac_config_commands="$ac_config_commands libtool" |
| 11952 |
|
|
| 11953 |
|
|
| 11958 |
|
|
| 11959 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
| 11960 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
| 11961 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
| 11961 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
| 11962 |
|
$as_echo_n "(cached) " >&6 |
| 11963 |
|
else |
| 11964 |
|
|
| 11965 |
|
module=yes |
| 11966 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 11967 |
+ |
module=no |
| 11968 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
| 11969 |
|
|
| 11970 |
|
fi |
| 11971 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 11977 |
|
_ACEOF |
| 11978 |
|
|
| 11979 |
|
fi |
| 11980 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 11981 |
+ |
|
| 11982 |
+ |
cat >>confdefs.h <<_ACEOF |
| 11983 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
| 11984 |
+ |
_ACEOF |
| 11985 |
+ |
|
| 11986 |
+ |
fi |
| 11987 |
|
|
| 11988 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 11989 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 11990 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
| 11990 |
> |
if ${lt_cv_module_path_var+:} false; then : |
| 11991 |
|
$as_echo_n "(cached) " >&6 |
| 11992 |
|
else |
| 11993 |
|
lt_cv_module_path_var="$shlibpath_var" |
| 12004 |
|
|
| 12005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 12006 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
| 12007 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
| 12007 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
| 12008 |
|
$as_echo_n "(cached) " >&6 |
| 12009 |
|
else |
| 12010 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
| 12041 |
|
LIBADD_DLOPEN= |
| 12042 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 12043 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
| 12044 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12044 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12045 |
|
$as_echo_n "(cached) " >&6 |
| 12046 |
|
else |
| 12047 |
|
ac_func_search_save_LIBS=$LIBS |
| 12075 |
|
fi |
| 12076 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 12077 |
|
conftest$ac_exeext |
| 12078 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12078 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12079 |
|
break |
| 12080 |
|
fi |
| 12081 |
|
done |
| 12082 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12082 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12083 |
|
|
| 12084 |
|
else |
| 12085 |
|
ac_cv_search_dlopen=no |
| 12124 |
|
else |
| 12125 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12126 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12127 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 12127 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12128 |
|
$as_echo_n "(cached) " >&6 |
| 12129 |
|
else |
| 12130 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12158 |
|
fi |
| 12159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12160 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12161 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 12161 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12162 |
|
|
| 12163 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 12164 |
|
|
| 12178 |
|
for ac_func in dlerror |
| 12179 |
|
do : |
| 12180 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
| 12181 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
| 12181 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
| 12182 |
|
cat >>confdefs.h <<_ACEOF |
| 12183 |
|
#define HAVE_DLERROR 1 |
| 12184 |
|
_ACEOF |
| 12192 |
|
|
| 12193 |
|
LIBADD_SHL_LOAD= |
| 12194 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12195 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 12195 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12196 |
|
|
| 12197 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12198 |
|
|
| 12200 |
|
else |
| 12201 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12202 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12203 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 12203 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12204 |
|
$as_echo_n "(cached) " >&6 |
| 12205 |
|
else |
| 12206 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12234 |
|
fi |
| 12235 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12236 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12237 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 12237 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12238 |
|
|
| 12239 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12240 |
|
|
| 12250 |
|
darwin[1567].*) |
| 12251 |
|
# We only want this for pre-Mac OS X 10.4. |
| 12252 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
| 12253 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
| 12253 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
| 12254 |
|
|
| 12255 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
| 12256 |
|
|
| 12264 |
|
cygwin* | mingw* | os2* | pw32*) |
| 12265 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 12266 |
|
" |
| 12267 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
| 12267 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
| 12268 |
|
ac_have_decl=1 |
| 12269 |
|
else |
| 12270 |
|
ac_have_decl=0 |
| 12280 |
|
|
| 12281 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12282 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12283 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 12283 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12284 |
|
$as_echo_n "(cached) " >&6 |
| 12285 |
|
else |
| 12286 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12314 |
|
fi |
| 12315 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12316 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12317 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 12317 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12318 |
|
|
| 12319 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
| 12320 |
|
|
| 12348 |
|
|
| 12349 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 12350 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
| 12351 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
| 12351 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
| 12352 |
|
$as_echo_n "(cached) " >&6 |
| 12353 |
|
else |
| 12354 |
|
lt_cv_sys_symbol_underscore=no |
| 12398 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
| 12399 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 12400 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
| 12401 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
| 12401 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
| 12402 |
|
$as_echo_n "(cached) " >&6 |
| 12403 |
|
else |
| 12404 |
|
libltdl_cv_need_uscore=unknown |
| 12454 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 12455 |
|
correspondingly for the symbols needed. */ |
| 12456 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12457 |
< |
void fnord () __attribute__((visibility("default"))); |
| 12457 |
> |
int fnord () __attribute__((visibility("default"))); |
| 12458 |
|
#endif |
| 12459 |
|
|
| 12460 |
< |
void fnord () { int i=42; } |
| 12460 |
> |
int fnord () { return 42; } |
| 12461 |
|
int main () |
| 12462 |
|
{ |
| 12463 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12514 |
|
|
| 12515 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 12516 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
| 12517 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
| 12517 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
| 12518 |
|
$as_echo_n "(cached) " >&6 |
| 12519 |
|
else |
| 12520 |
|
# PORTME does your system automatically load deplibs for dlopen? |
| 12620 |
|
do : |
| 12621 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 12622 |
|
" |
| 12623 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
| 12623 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
| 12624 |
|
cat >>confdefs.h <<_ACEOF |
| 12625 |
|
#define HAVE_ARGZ_H 1 |
| 12626 |
|
_ACEOF |
| 12634 |
|
# include <argz.h> |
| 12635 |
|
#endif |
| 12636 |
|
" |
| 12637 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
| 12637 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
| 12638 |
|
|
| 12639 |
|
cat >>confdefs.h <<_ACEOF |
| 12640 |
|
#define HAVE_ERROR_T 1 |
| 12657 |
|
do : |
| 12658 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12659 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12660 |
< |
eval as_val=\$$as_ac_var |
| 11912 |
< |
if test "x$as_val" = x""yes; then : |
| 12660 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12661 |
|
cat >>confdefs.h <<_ACEOF |
| 12662 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12663 |
|
_ACEOF |
| 12674 |
|
if test -z "$ARGZ_H"; then : |
| 12675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 12676 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
| 12677 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
| 12677 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
| 12678 |
|
$as_echo_n "(cached) " >&6 |
| 12679 |
|
else |
| 12680 |
|
case $host_os in #( |
| 12705 |
|
fi |
| 12706 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 12707 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
| 12708 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
| 12708 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
| 12709 |
|
|
| 12710 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 12711 |
|
|
| 12722 |
|
|
| 12723 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 12724 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 12725 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
| 12725 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
| 12726 |
|
$as_echo_n "(cached) " >&6 |
| 12727 |
|
else |
| 12728 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
| 12764 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
| 12765 |
|
|
| 12766 |
|
" |
| 12767 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
| 12767 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
| 12768 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 12769 |
|
#include <ltdl.h> |
| 12770 |
|
" |
| 12771 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
| 12771 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
| 12772 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 12773 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 12774 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
| 12774 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
| 12775 |
|
$as_echo_n "(cached) " >&6 |
| 12776 |
|
else |
| 12777 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12805 |
|
fi |
| 12806 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 12807 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 12808 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
| 12808 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
| 12809 |
|
with_included_ltdl=no |
| 12810 |
|
else |
| 12811 |
|
with_included_ltdl=yes |
| 12834 |
|
if test -n "$with_ltdl_include"; then |
| 12835 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
| 12836 |
|
else |
| 12837 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 12837 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 12838 |
|
fi |
| 12839 |
|
else |
| 12840 |
|
with_ltdl_include=no |
| 12850 |
|
if test -n "$with_ltdl_lib"; then |
| 12851 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
| 12852 |
|
else |
| 12853 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 12853 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 12854 |
|
fi |
| 12855 |
|
else |
| 12856 |
|
with_ltdl_lib=no |
| 12859 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
| 12860 |
|
,yes,no,no,) |
| 12861 |
|
case $enable_ltdl_convenience in |
| 12862 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
| 12862 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
| 12863 |
|
"") enable_ltdl_convenience=yes |
| 12864 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| 12865 |
|
esac |
| 12887 |
|
LTDLINCL= |
| 12888 |
|
;; |
| 12889 |
|
,no*,no,*) |
| 12890 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 12890 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 12891 |
|
;; |
| 12892 |
|
*) with_included_ltdl=no |
| 12893 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
| 12954 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12955 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 12956 |
|
" |
| 12957 |
< |
eval as_val=\$$as_ac_Header |
| 12210 |
< |
if test "x$as_val" = x""yes; then : |
| 12957 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 12958 |
|
cat >>confdefs.h <<_ACEOF |
| 12959 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12960 |
|
_ACEOF |
| 12968 |
|
do : |
| 12969 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12970 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12971 |
< |
eval as_val=\$$as_ac_var |
| 12225 |
< |
if test "x$as_val" = x""yes; then : |
| 12971 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12972 |
|
cat >>confdefs.h <<_ACEOF |
| 12973 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12974 |
|
_ACEOF |
| 12985 |
|
do : |
| 12986 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12987 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12988 |
< |
eval as_val=\$$as_ac_var |
| 12243 |
< |
if test "x$as_val" = x""yes; then : |
| 12988 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12989 |
|
cat >>confdefs.h <<_ACEOF |
| 12990 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12991 |
|
_ACEOF |
| 13005 |
|
_ACEOF |
| 13006 |
|
|
| 13007 |
|
|
| 13008 |
+ |
name= |
| 13009 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
| 13010 |
+ |
|
| 13011 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13012 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
| 13013 |
+ |
_ACEOF |
| 13014 |
+ |
|
| 13015 |
+ |
|
| 13016 |
|
name=ltdl |
| 13017 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
| 13017 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
| 13018 |
|
|
| 13019 |
|
|
| 13020 |
|
|
| 13032 |
|
|
| 13033 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13034 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
| 13035 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13035 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13036 |
|
$as_echo_n "(cached) " >&6 |
| 13037 |
|
else |
| 13038 |
|
ac_func_search_save_LIBS=$LIBS |
| 13066 |
|
fi |
| 13067 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13068 |
|
conftest$ac_exeext |
| 13069 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13069 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13070 |
|
break |
| 13071 |
|
fi |
| 13072 |
|
done |
| 13073 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13073 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13074 |
|
|
| 13075 |
|
else |
| 13076 |
|
ac_cv_search_socket=no |
| 13085 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13086 |
|
|
| 13087 |
|
else |
| 13088 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
| 13088 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13089 |
> |
fi |
| 13090 |
> |
|
| 13091 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13092 |
> |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13093 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13094 |
> |
$as_echo_n "(cached) " >&6 |
| 13095 |
> |
else |
| 13096 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13097 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13098 |
> |
/* end confdefs.h. */ |
| 13099 |
> |
|
| 13100 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 13101 |
> |
Use char because int might match the return type of a GCC |
| 13102 |
> |
builtin and then its argument prototype would still apply. */ |
| 13103 |
> |
#ifdef __cplusplus |
| 13104 |
> |
extern "C" |
| 13105 |
> |
#endif |
| 13106 |
> |
char inet_ntoa (); |
| 13107 |
> |
int |
| 13108 |
> |
main () |
| 13109 |
> |
{ |
| 13110 |
> |
return inet_ntoa (); |
| 13111 |
> |
; |
| 13112 |
> |
return 0; |
| 13113 |
> |
} |
| 13114 |
> |
_ACEOF |
| 13115 |
> |
for ac_lib in '' nsl; do |
| 13116 |
> |
if test -z "$ac_lib"; then |
| 13117 |
> |
ac_res="none required" |
| 13118 |
> |
else |
| 13119 |
> |
ac_res=-l$ac_lib |
| 13120 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13121 |
> |
fi |
| 13122 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13123 |
> |
ac_cv_search_inet_ntoa=$ac_res |
| 13124 |
> |
fi |
| 13125 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13126 |
> |
conftest$ac_exeext |
| 13127 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13128 |
> |
break |
| 13129 |
> |
fi |
| 13130 |
> |
done |
| 13131 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13132 |
> |
|
| 13133 |
> |
else |
| 13134 |
> |
ac_cv_search_inet_ntoa=no |
| 13135 |
> |
fi |
| 13136 |
> |
rm conftest.$ac_ext |
| 13137 |
> |
LIBS=$ac_func_search_save_LIBS |
| 13138 |
> |
fi |
| 13139 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13140 |
> |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13141 |
> |
ac_res=$ac_cv_search_inet_ntoa |
| 13142 |
> |
if test "$ac_res" != no; then : |
| 13143 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13144 |
> |
|
| 13145 |
> |
fi |
| 13146 |
> |
|
| 13147 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13148 |
> |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13149 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13150 |
> |
$as_echo_n "(cached) " >&6 |
| 13151 |
> |
else |
| 13152 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13153 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13154 |
> |
/* end confdefs.h. */ |
| 13155 |
> |
|
| 13156 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 13157 |
> |
Use char because int might match the return type of a GCC |
| 13158 |
> |
builtin and then its argument prototype would still apply. */ |
| 13159 |
> |
#ifdef __cplusplus |
| 13160 |
> |
extern "C" |
| 13161 |
> |
#endif |
| 13162 |
> |
char inet_aton (); |
| 13163 |
> |
int |
| 13164 |
> |
main () |
| 13165 |
> |
{ |
| 13166 |
> |
return inet_aton (); |
| 13167 |
> |
; |
| 13168 |
> |
return 0; |
| 13169 |
> |
} |
| 13170 |
> |
_ACEOF |
| 13171 |
> |
for ac_lib in '' resolv; do |
| 13172 |
> |
if test -z "$ac_lib"; then |
| 13173 |
> |
ac_res="none required" |
| 13174 |
> |
else |
| 13175 |
> |
ac_res=-l$ac_lib |
| 13176 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13177 |
> |
fi |
| 13178 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13179 |
> |
ac_cv_search_inet_aton=$ac_res |
| 13180 |
> |
fi |
| 13181 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13182 |
> |
conftest$ac_exeext |
| 13183 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13184 |
> |
break |
| 13185 |
> |
fi |
| 13186 |
> |
done |
| 13187 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13188 |
> |
|
| 13189 |
> |
else |
| 13190 |
> |
ac_cv_search_inet_aton=no |
| 13191 |
> |
fi |
| 13192 |
> |
rm conftest.$ac_ext |
| 13193 |
> |
LIBS=$ac_func_search_save_LIBS |
| 13194 |
> |
fi |
| 13195 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13196 |
> |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13197 |
> |
ac_res=$ac_cv_search_inet_aton |
| 13198 |
> |
if test "$ac_res" != no; then : |
| 13199 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13200 |
> |
|
| 13201 |
|
fi |
| 13202 |
|
|
| 13203 |
|
for ac_func in inet_aton inet_ntop inet_pton |
| 13204 |
|
do : |
| 13205 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13206 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13207 |
< |
eval as_val=\$$as_ac_var |
| 12343 |
< |
if test "x$as_val" = x""yes; then : |
| 13207 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13208 |
|
cat >>confdefs.h <<_ACEOF |
| 13209 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13210 |
|
_ACEOF |
| 13217 |
|
#include <netdb.h> |
| 13218 |
|
|
| 13219 |
|
" |
| 13220 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
| 13220 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| 13221 |
|
|
| 13222 |
|
cat >>confdefs.h <<_ACEOF |
| 13223 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 13230 |
|
#include <netdb.h> |
| 13231 |
|
|
| 13232 |
|
" |
| 13233 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
| 13233 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
| 13234 |
|
|
| 13235 |
|
cat >>confdefs.h <<_ACEOF |
| 13236 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 13243 |
|
#include <netdb.h> |
| 13244 |
|
|
| 13245 |
|
" |
| 13246 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
| 13246 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
| 13247 |
|
|
| 13248 |
|
cat >>confdefs.h <<_ACEOF |
| 13249 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
| 13255 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13256 |
|
<sys/socket.h> |
| 13257 |
|
" |
| 13258 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
| 13258 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13259 |
|
|
| 13260 |
|
cat >>confdefs.h <<_ACEOF |
| 13261 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13266 |
|
|
| 13267 |
|
|
| 13268 |
|
|
| 13269 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 13270 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
| 13271 |
< |
|
| 12408 |
< |
cat >>confdefs.h <<_ACEOF |
| 12409 |
< |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 12410 |
< |
_ACEOF |
| 12411 |
< |
|
| 12412 |
< |
|
| 12413 |
< |
else |
| 13269 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13270 |
> |
" |
| 13271 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13272 |
|
|
| 13273 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
| 13274 |
|
|
| 13279 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 13280 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 13281 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 13282 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 13282 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
| 13283 |
|
$as_echo_n "(cached) " >&6 |
| 13284 |
|
else |
| 13285 |
|
ac_cv_c_bigendian=unknown |
| 13497 |
|
|
| 13498 |
|
;; #( |
| 13499 |
|
*) |
| 13500 |
< |
as_fn_error "unknown endianness |
| 13500 |
> |
as_fn_error $? "unknown endianness |
| 13501 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 13502 |
|
esac |
| 13503 |
|
|
| 13510 |
|
do : |
| 13511 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13512 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13513 |
< |
eval as_val=\$$as_ac_var |
| 12656 |
< |
if test "x$as_val" = x""yes; then : |
| 13513 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13514 |
|
cat >>confdefs.h <<_ACEOF |
| 13515 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13516 |
|
_ACEOF |
| 13539 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13540 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 13541 |
|
" |
| 13542 |
< |
eval as_val=\$$as_ac_Header |
| 12686 |
< |
if test "x$as_val" = x""yes; then : |
| 13542 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13543 |
|
cat >>confdefs.h <<_ACEOF |
| 13544 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13545 |
|
_ACEOF |
| 13564 |
|
|
| 13565 |
|
|
| 13566 |
|
|
| 12711 |
– |
|
| 12712 |
– |
|
| 12713 |
– |
|
| 12714 |
– |
|
| 12715 |
– |
|
| 12716 |
– |
|
| 12717 |
– |
|
| 12718 |
– |
|
| 12719 |
– |
|
| 12720 |
– |
|
| 12721 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 12722 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 12723 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 12724 |
– |
if test -c /dev/null; then : |
| 12725 |
– |
|
| 12726 |
– |
|
| 12727 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 12728 |
– |
|
| 12729 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12730 |
– |
$as_echo "yes" >&6; } |
| 12731 |
– |
else |
| 12732 |
– |
|
| 12733 |
– |
|
| 12734 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 12735 |
– |
|
| 12736 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 12737 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 12738 |
– |
fi |
| 12739 |
– |
|
| 12740 |
– |
|
| 13567 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 13568 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 13569 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13569 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13570 |
|
$as_echo_n "(cached) " >&6 |
| 13571 |
|
else |
| 13572 |
|
ac_func_search_save_LIBS=$LIBS |
| 13600 |
|
fi |
| 13601 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13602 |
|
conftest$ac_exeext |
| 13603 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13603 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13604 |
|
break |
| 13605 |
|
fi |
| 13606 |
|
done |
| 13607 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13607 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13608 |
|
|
| 13609 |
|
else |
| 13610 |
|
ac_cv_search_crypt=no |
| 13621 |
|
fi |
| 13622 |
|
|
| 13623 |
|
|
| 12798 |
– |
|
| 12799 |
– |
|
| 12800 |
– |
# Check whether --with-zlib-path was given. |
| 12801 |
– |
if test "${with_zlib_path+set}" = set; then : |
| 12802 |
– |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12803 |
– |
fi |
| 12804 |
– |
|
| 12805 |
– |
|
| 12806 |
– |
# Check whether --enable-zlib was given. |
| 12807 |
– |
if test "${enable_zlib+set}" = set; then : |
| 12808 |
– |
enableval=$enable_zlib; zlib=$enableval |
| 12809 |
– |
else |
| 12810 |
– |
zlib=yes |
| 12811 |
– |
fi |
| 12812 |
– |
|
| 12813 |
– |
|
| 12814 |
– |
if test "$zlib" = "yes"; then : |
| 12815 |
– |
|
| 12816 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 12817 |
– |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 12818 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 12819 |
– |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 12820 |
– |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
| 12821 |
– |
$as_echo_n "(cached) " >&6 |
| 12822 |
– |
else |
| 12823 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 12824 |
– |
LIBS="-lz $LIBS" |
| 12825 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12826 |
– |
/* end confdefs.h. */ |
| 12827 |
– |
|
| 12828 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 12829 |
– |
Use char because int might match the return type of a GCC |
| 12830 |
– |
builtin and then its argument prototype would still apply. */ |
| 12831 |
– |
#ifdef __cplusplus |
| 12832 |
– |
extern "C" |
| 12833 |
– |
#endif |
| 12834 |
– |
char zlibVersion (); |
| 12835 |
– |
int |
| 12836 |
– |
main () |
| 12837 |
– |
{ |
| 12838 |
– |
return zlibVersion (); |
| 12839 |
– |
; |
| 12840 |
– |
return 0; |
| 12841 |
– |
} |
| 12842 |
– |
_ACEOF |
| 12843 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 12844 |
– |
ac_cv_lib_z_zlibVersion=yes |
| 12845 |
– |
else |
| 12846 |
– |
ac_cv_lib_z_zlibVersion=no |
| 12847 |
– |
fi |
| 12848 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 12849 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 12850 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 12851 |
– |
fi |
| 12852 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 12853 |
– |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 12854 |
– |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
| 12855 |
– |
|
| 12856 |
– |
LIBS="-lz $LIBS" |
| 12857 |
– |
|
| 12858 |
– |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 12859 |
– |
|
| 12860 |
– |
|
| 12861 |
– |
else |
| 12862 |
– |
zlib=no |
| 12863 |
– |
fi |
| 12864 |
– |
|
| 12865 |
– |
|
| 12866 |
– |
else |
| 12867 |
– |
zlib=no |
| 12868 |
– |
fi |
| 12869 |
– |
|
| 12870 |
– |
|
| 12871 |
– |
|
| 12872 |
– |
fi |
| 12873 |
– |
|
| 12874 |
– |
|
| 12875 |
– |
# Check whether --with-libpcre-path was given. |
| 12876 |
– |
if test "${with_libpcre_path+set}" = set; then : |
| 12877 |
– |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12878 |
– |
fi |
| 12879 |
– |
|
| 12880 |
– |
|
| 13624 |
|
# Check whether --enable-libpcre was given. |
| 13625 |
|
if test "${enable_libpcre+set}" = set; then : |
| 13626 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
| 13626 |
> |
enableval=$enable_libpcre; |
| 13627 |
|
else |
| 12885 |
– |
libpcre=yes |
| 12886 |
– |
fi |
| 12887 |
– |
|
| 12888 |
– |
|
| 12889 |
– |
if test "$libpcre" = "yes"; then : |
| 12890 |
– |
|
| 13628 |
|
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13629 |
< |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 13630 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 13631 |
< |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 13632 |
< |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 13629 |
> |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13630 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 13631 |
> |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 13632 |
> |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13633 |
|
$as_echo_n "(cached) " >&6 |
| 13634 |
|
else |
| 13635 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 12899 |
< |
LIBS="-lpcre $LIBS" |
| 13635 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13636 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13637 |
|
/* end confdefs.h. */ |
| 13638 |
|
|
| 13651 |
|
return 0; |
| 13652 |
|
} |
| 13653 |
|
_ACEOF |
| 13654 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13655 |
< |
ac_cv_lib_pcre_pcre_study=yes |
| 13656 |
< |
else |
| 13657 |
< |
ac_cv_lib_pcre_pcre_study=no |
| 13654 |
> |
for ac_lib in '' pcre; do |
| 13655 |
> |
if test -z "$ac_lib"; then |
| 13656 |
> |
ac_res="none required" |
| 13657 |
> |
else |
| 13658 |
> |
ac_res=-l$ac_lib |
| 13659 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13660 |
> |
fi |
| 13661 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13662 |
> |
ac_cv_search_pcre_study=$ac_res |
| 13663 |
|
fi |
| 13664 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13665 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13666 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 13665 |
> |
conftest$ac_exeext |
| 13666 |
> |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13667 |
> |
break |
| 13668 |
|
fi |
| 13669 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 13670 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 12929 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 12930 |
< |
|
| 12931 |
< |
LIBS="-lpcre $LIBS" |
| 12932 |
< |
|
| 12933 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 12934 |
< |
|
| 13669 |
> |
done |
| 13670 |
> |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13671 |
|
|
| 13672 |
|
else |
| 13673 |
< |
libpcre=no |
| 13673 |
> |
ac_cv_search_pcre_study=no |
| 13674 |
|
fi |
| 13675 |
+ |
rm conftest.$ac_ext |
| 13676 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 13677 |
+ |
fi |
| 13678 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 13679 |
+ |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 13680 |
+ |
ac_res=$ac_cv_search_pcre_study |
| 13681 |
+ |
if test "$ac_res" != no; then : |
| 13682 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13683 |
|
|
| 13684 |
+ |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13685 |
|
|
| 12941 |
– |
else |
| 12942 |
– |
libpcre=no |
| 13686 |
|
fi |
| 13687 |
|
|
| 13688 |
+ |
fi |
| 13689 |
|
|
| 13690 |
|
|
| 13691 |
|
fi |
| 12948 |
– |
if test "$libpcre" = yes; then |
| 12949 |
– |
ENABLE_PCRE_TRUE= |
| 12950 |
– |
ENABLE_PCRE_FALSE='#' |
| 12951 |
– |
else |
| 12952 |
– |
ENABLE_PCRE_TRUE='#' |
| 12953 |
– |
ENABLE_PCRE_FALSE= |
| 12954 |
– |
fi |
| 12955 |
– |
|
| 13692 |
|
|
| 13693 |
|
|
| 13694 |
|
# Check whether --enable-openssl was given. |
| 13730 |
|
fi |
| 13731 |
|
|
| 13732 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 12997 |
– |
LIBS="-lcrypto -lssl $LIBS" |
| 13733 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13734 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
| 13735 |
|
cf_enable_openssl="yes" |
| 13001 |
– |
|
| 13002 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13003 |
– |
|
| 13736 |
|
else |
| 13737 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13738 |
|
$as_echo "not found. Please check your path." >&6; } |
| 13745 |
|
fi |
| 13746 |
|
|
| 13747 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13748 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 13749 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 13748 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 13749 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13750 |
|
if test "$cross_compiling" = yes; then : |
| 13751 |
|
cf_openssl_version_ok=no |
| 13752 |
|
else |
| 13753 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13754 |
|
/* end confdefs.h. */ |
| 13755 |
|
|
| 13756 |
+ |
|
| 13757 |
|
#include <openssl/opensslv.h> |
| 13758 |
|
#include <stdlib.h> |
| 13759 |
|
int |
| 13760 |
|
main () |
| 13761 |
|
{ |
| 13762 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13762 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 13763 |
|
; |
| 13764 |
|
return 0; |
| 13765 |
|
} |
| 13780 |
|
|
| 13781 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13782 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13783 |
< |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
| 13783 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13784 |
|
$as_echo_n "(cached) " >&6 |
| 13785 |
|
else |
| 13786 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13814 |
|
fi |
| 13815 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13816 |
|
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13817 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
| 13817 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 13818 |
|
cat >>confdefs.h <<_ACEOF |
| 13819 |
|
#define HAVE_LIBCRYPTO 1 |
| 13820 |
|
_ACEOF |
| 13824 |
|
fi |
| 13825 |
|
|
| 13826 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13827 |
< |
for ac_func in EVP_bf_cfb \ |
| 13828 |
< |
EVP_cast5_cfb \ |
| 13829 |
< |
EVP_idea_cfb \ |
| 13830 |
< |
EVP_rc5_32_12_16_cfb \ |
| 13831 |
< |
EVP_des_ede3_cfb \ |
| 13832 |
< |
EVP_des_cfb |
| 13833 |
< |
do : |
| 13834 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13835 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13836 |
< |
eval as_val=\$$as_ac_var |
| 13837 |
< |
if test "x$as_val" = x""yes; then : |
| 13827 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13828 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 13829 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 13830 |
> |
$as_echo_n "(cached) " >&6 |
| 13831 |
> |
else |
| 13832 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 13833 |
> |
LIBS="-lssl $LIBS" |
| 13834 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13835 |
> |
/* end confdefs.h. */ |
| 13836 |
> |
|
| 13837 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 13838 |
> |
Use char because int might match the return type of a GCC |
| 13839 |
> |
builtin and then its argument prototype would still apply. */ |
| 13840 |
> |
#ifdef __cplusplus |
| 13841 |
> |
extern "C" |
| 13842 |
> |
#endif |
| 13843 |
> |
char SSL_connect (); |
| 13844 |
> |
int |
| 13845 |
> |
main () |
| 13846 |
> |
{ |
| 13847 |
> |
return SSL_connect (); |
| 13848 |
> |
; |
| 13849 |
> |
return 0; |
| 13850 |
> |
} |
| 13851 |
> |
_ACEOF |
| 13852 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13853 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 13854 |
> |
else |
| 13855 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 13856 |
> |
fi |
| 13857 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13858 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 13859 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 13860 |
> |
fi |
| 13861 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 13862 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 13863 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 13864 |
|
cat >>confdefs.h <<_ACEOF |
| 13865 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13865 |
> |
#define HAVE_LIBSSL 1 |
| 13866 |
|
_ACEOF |
| 13867 |
|
|
| 13868 |
+ |
LIBS="-lssl $LIBS" |
| 13869 |
+ |
|
| 13870 |
|
fi |
| 13110 |
– |
done |
| 13871 |
|
|
| 13872 |
|
fi |
| 13873 |
|
|
| 13878 |
|
fi |
| 13879 |
|
fi |
| 13880 |
|
|
| 13881 |
< |
if test "$cf_enable_openssl" = yes; then |
| 13881 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 13882 |
|
ENABLE_SSL_TRUE= |
| 13883 |
|
ENABLE_SSL_FALSE='#' |
| 13884 |
|
else |
| 13914 |
|
if test "$small_net" = "yes"; then : |
| 13915 |
|
|
| 13916 |
|
|
| 13917 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 13917 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
| 13918 |
|
|
| 13919 |
|
|
| 13920 |
|
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13947 |
|
|
| 13948 |
|
|
| 13949 |
|
|
| 13950 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13950 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
| 13951 |
|
|
| 13952 |
|
|
| 13953 |
|
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 14083 |
|
if test "$cross_compiling" = yes; then : |
| 14084 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14085 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14086 |
< |
as_fn_error "cannot run test program while cross compiling |
| 14087 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 14086 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 14087 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 14088 |
|
else |
| 14089 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14090 |
|
/* end confdefs.h. */ |
| 14117 |
|
#endif |
| 14118 |
|
_syscall1(int, epoll_create, int, size) |
| 14119 |
|
#endif |
| 13360 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
| 14120 |
|
|
| 14121 |
+ |
int |
| 14122 |
+ |
main () |
| 14123 |
+ |
{ |
| 14124 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
| 14125 |
+ |
; |
| 14126 |
+ |
return 0; |
| 14127 |
+ |
} |
| 14128 |
|
_ACEOF |
| 14129 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 14130 |
|
is_epoll_mechanism_available="yes" |
| 14194 |
|
if test "$cross_compiling" = yes; then : |
| 14195 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14196 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14197 |
< |
as_fn_error "cannot run test program while cross compiling |
| 14198 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 14197 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 14198 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 14199 |
|
else |
| 14200 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14201 |
|
/* end confdefs.h. */ |
| 14202 |
|
|
| 14203 |
+ |
#define _GNU_SOURCE |
| 14204 |
|
#include <fcntl.h> |
| 14205 |
< |
#ifdef F_SETSIG |
| 13439 |
< |
main () { return 0; } /* F_SETSIG defined */ |
| 13440 |
< |
#else |
| 13441 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
| 13442 |
< |
#endif |
| 14205 |
> |
static unsigned int have_f_setsig = 0; |
| 14206 |
|
|
| 14207 |
|
int |
| 14208 |
|
main () |
| 14209 |
|
{ |
| 14210 |
|
|
| 14211 |
+ |
#ifdef F_SETSIG |
| 14212 |
+ |
have_f_setsig = 1; |
| 14213 |
+ |
#endif |
| 14214 |
+ |
return have_f_setsig == 0; |
| 14215 |
+ |
|
| 14216 |
|
; |
| 14217 |
|
return 0; |
| 14218 |
|
} |
| 14346 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 14347 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 14348 |
|
$as_echo "none" >&6; } |
| 14349 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
| 14349 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
| 14350 |
|
else |
| 14351 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
| 14352 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 14361 |
|
else |
| 14362 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 14363 |
|
$as_echo "none" >&6; } |
| 14364 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 14364 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 14365 |
|
fi |
| 14366 |
|
fi |
| 14367 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 14382 |
|
|
| 14383 |
|
|
| 14384 |
|
cat >>confdefs.h <<_ACEOF |
| 14385 |
< |
#define NICKLEN ($nicklen+1) |
| 14385 |
> |
#define NICKLEN ($nicklen) |
| 14386 |
|
_ACEOF |
| 14387 |
|
|
| 14388 |
|
|
| 14402 |
|
|
| 14403 |
|
|
| 14404 |
|
|
| 13637 |
– |
|
| 13638 |
– |
# Check whether --with-syslog-facility was given. |
| 13639 |
– |
if test "${with_syslog_facility+set}" = set; then : |
| 13640 |
– |
withval=$with_syslog_facility; syslog_facility="$withval" |
| 13641 |
– |
else |
| 13642 |
– |
syslog_facility="LOG_LOCAL4" |
| 13643 |
– |
fi |
| 13644 |
– |
|
| 13645 |
– |
|
| 13646 |
– |
cat >>confdefs.h <<_ACEOF |
| 13647 |
– |
#define LOG_FACILITY $syslog_facility |
| 13648 |
– |
_ACEOF |
| 13649 |
– |
|
| 13650 |
– |
|
| 13651 |
– |
|
| 13652 |
– |
# Check whether --enable-efnet was given. |
| 13653 |
– |
if test "${enable_efnet+set}" = set; then : |
| 13654 |
– |
enableval=$enable_efnet; efnet="$enableval" |
| 13655 |
– |
else |
| 13656 |
– |
efnet="no" |
| 13657 |
– |
fi |
| 13658 |
– |
|
| 13659 |
– |
if test "$efnet" = "yes" ; then |
| 13660 |
– |
use_efnet="yes" |
| 13661 |
– |
|
| 13662 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
| 13663 |
– |
|
| 13664 |
– |
|
| 13665 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 13666 |
– |
|
| 13667 |
– |
else |
| 13668 |
– |
use_efnet="no" |
| 13669 |
– |
fi |
| 13670 |
– |
if test "$use_efnet" = "yes"; then |
| 13671 |
– |
EFNET_TRUE= |
| 13672 |
– |
EFNET_FALSE='#' |
| 13673 |
– |
else |
| 13674 |
– |
EFNET_TRUE='#' |
| 13675 |
– |
EFNET_FALSE= |
| 13676 |
– |
fi |
| 13677 |
– |
|
| 13678 |
– |
|
| 13679 |
– |
|
| 14405 |
|
# Check whether --enable-halfops was given. |
| 14406 |
|
if test "${enable_halfops+set}" = set; then : |
| 14407 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14447 |
|
fi |
| 14448 |
|
|
| 14449 |
|
|
| 13725 |
– |
for ac_header in syslog.h sys/syslog.h |
| 13726 |
– |
do : |
| 13727 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13728 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 13729 |
– |
eval as_val=\$$as_ac_Header |
| 13730 |
– |
if test "x$as_val" = x""yes; then : |
| 13731 |
– |
cat >>confdefs.h <<_ACEOF |
| 13732 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13733 |
– |
_ACEOF |
| 13734 |
– |
|
| 13735 |
– |
fi |
| 13736 |
– |
|
| 13737 |
– |
done |
| 13738 |
– |
|
| 13739 |
– |
# Check whether --enable-syslog was given. |
| 13740 |
– |
if test "${enable_syslog+set}" = set; then : |
| 13741 |
– |
enableval=$enable_syslog; syslog="$enableval" |
| 13742 |
– |
else |
| 13743 |
– |
syslog="no" |
| 13744 |
– |
fi |
| 13745 |
– |
|
| 13746 |
– |
if test "$enableval" != "no" ; then |
| 13747 |
– |
for option in $enableval ; do |
| 13748 |
– |
case "$option" in |
| 13749 |
– |
users) |
| 13750 |
– |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
| 13751 |
– |
;; |
| 13752 |
– |
oper) |
| 13753 |
– |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 13754 |
– |
;; |
| 13755 |
– |
yes) : ;; |
| 13756 |
– |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 13757 |
– |
esac |
| 13758 |
– |
done |
| 13759 |
– |
|
| 13760 |
– |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 13761 |
– |
|
| 13762 |
– |
fi |
| 13763 |
– |
|
| 13764 |
– |
|
| 14450 |
|
|
| 14451 |
|
prefix_NONE= |
| 14452 |
|
exec_prefix_NONE= |
| 14533 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14534 |
|
|
| 14535 |
|
|
| 14536 |
< |
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" |
| 14536 |
> |
ac_config_files="$ac_config_files 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" |
| 14537 |
|
|
| 14538 |
|
|
| 14539 |
|
cat >confcache <<\_ACEOF |
| 14600 |
|
:end' >>confcache |
| 14601 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 14602 |
|
if test -w "$cache_file"; then |
| 14603 |
< |
test "x$cache_file" != "x/dev/null" && |
| 14603 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 14604 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 14605 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 14606 |
< |
cat confcache >$cache_file |
| 14606 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 14607 |
> |
cat confcache >"$cache_file" |
| 14608 |
> |
else |
| 14609 |
> |
case $cache_file in #( |
| 14610 |
> |
*/* | ?:*) |
| 14611 |
> |
mv -f confcache "$cache_file"$$ && |
| 14612 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 14613 |
> |
*) |
| 14614 |
> |
mv -f confcache "$cache_file" ;; |
| 14615 |
> |
esac |
| 14616 |
> |
fi |
| 14617 |
> |
fi |
| 14618 |
|
else |
| 14619 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 14620 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 14630 |
|
|
| 14631 |
|
ac_libobjs= |
| 14632 |
|
ac_ltlibobjs= |
| 14633 |
+ |
U= |
| 14634 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 14635 |
|
# 1. Remove the extension, and $U if already installed. |
| 14636 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 14645 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 14646 |
|
|
| 14647 |
|
|
| 14648 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 14649 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 14650 |
+ |
if test -n "$am_sleep_pid"; then |
| 14651 |
+ |
# Hide warnings about reused PIDs. |
| 14652 |
+ |
wait $am_sleep_pid 2>/dev/null |
| 14653 |
+ |
fi |
| 14654 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 14655 |
+ |
$as_echo "done" >&6; } |
| 14656 |
|
if test -n "$EXEEXT"; then |
| 14657 |
|
am__EXEEXT_TRUE= |
| 14658 |
|
am__EXEEXT_FALSE='#' |
| 14662 |
|
fi |
| 14663 |
|
|
| 14664 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 14665 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
| 14665 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 14666 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14667 |
|
fi |
| 14668 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 14669 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
| 14669 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 14670 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14671 |
|
fi |
| 14672 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 14673 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
| 14673 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 14674 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14675 |
|
fi |
| 14676 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
| 14677 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
| 14677 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
| 14678 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14679 |
|
fi |
| 14680 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
| 14681 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
| 14681 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
| 14682 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14683 |
|
fi |
| 14684 |
|
LT_CONFIG_H=config.h |
| 14699 |
|
|
| 14700 |
|
|
| 14701 |
|
|
| 13997 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 13998 |
– |
as_fn_error "conditional \"ENABLE_PCRE\" was never defined. |
| 13999 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14000 |
– |
fi |
| 14702 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14703 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 14003 |
< |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14004 |
< |
fi |
| 14005 |
< |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 14006 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
| 14703 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14704 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14705 |
|
fi |
| 14706 |
|
|
| 14707 |
< |
: ${CONFIG_STATUS=./config.status} |
| 14707 |
> |
: "${CONFIG_STATUS=./config.status}" |
| 14708 |
|
ac_write_fail=0 |
| 14709 |
|
ac_clean_files_save=$ac_clean_files |
| 14710 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 14805 |
|
IFS=" "" $as_nl" |
| 14806 |
|
|
| 14807 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 14808 |
+ |
as_myself= |
| 14809 |
|
case $0 in #(( |
| 14810 |
|
*[\\/]* ) as_myself=$0 ;; |
| 14811 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14851 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 14852 |
|
|
| 14853 |
|
|
| 14854 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 14855 |
< |
# --------------------------------- |
| 14854 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 14855 |
> |
# ---------------------------------------- |
| 14856 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 14857 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 14858 |
< |
# script with status $?, using 1 if that was 0. |
| 14858 |
> |
# script with STATUS, using 1 if that was 0. |
| 14859 |
|
as_fn_error () |
| 14860 |
|
{ |
| 14861 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 14862 |
< |
if test "$3"; then |
| 14863 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 14864 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 14861 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 14862 |
> |
if test "$4"; then |
| 14863 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 14864 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 14865 |
|
fi |
| 14866 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 14866 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 14867 |
|
as_fn_exit $as_status |
| 14868 |
|
} # as_fn_error |
| 14869 |
|
|
| 15001 |
|
# ... but there are two gotchas: |
| 15002 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 15003 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 15004 |
< |
# In both cases, we have to default to `cp -p'. |
| 15004 |
> |
# In both cases, we have to default to `cp -pR'. |
| 15005 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 15006 |
< |
as_ln_s='cp -p' |
| 15006 |
> |
as_ln_s='cp -pR' |
| 15007 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 15008 |
|
as_ln_s=ln |
| 15009 |
|
else |
| 15010 |
< |
as_ln_s='cp -p' |
| 15010 |
> |
as_ln_s='cp -pR' |
| 15011 |
|
fi |
| 15012 |
|
else |
| 15013 |
< |
as_ln_s='cp -p' |
| 15013 |
> |
as_ln_s='cp -pR' |
| 15014 |
|
fi |
| 15015 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 15016 |
|
rmdir conf$$.dir 2>/dev/null |
| 15059 |
|
test -d "$as_dir" && break |
| 15060 |
|
done |
| 15061 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 15062 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 15062 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 15063 |
|
|
| 15064 |
|
|
| 15065 |
|
} # as_fn_mkdir_p |
| 15070 |
|
as_mkdir_p=false |
| 15071 |
|
fi |
| 15072 |
|
|
| 15073 |
< |
if test -x / >/dev/null 2>&1; then |
| 15074 |
< |
as_test_x='test -x' |
| 15075 |
< |
else |
| 15076 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 15077 |
< |
as_ls_L_option=L |
| 15078 |
< |
else |
| 15079 |
< |
as_ls_L_option= |
| 15080 |
< |
fi |
| 15081 |
< |
as_test_x=' |
| 15082 |
< |
eval sh -c '\'' |
| 14385 |
< |
if test -d "$1"; then |
| 14386 |
< |
test -d "$1/."; |
| 14387 |
< |
else |
| 14388 |
< |
case $1 in #( |
| 14389 |
< |
-*)set "./$1";; |
| 14390 |
< |
esac; |
| 14391 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 14392 |
< |
???[sx]*):;;*)false;;esac;fi |
| 14393 |
< |
'\'' sh |
| 14394 |
< |
' |
| 14395 |
< |
fi |
| 14396 |
< |
as_executable_p=$as_test_x |
| 15073 |
> |
|
| 15074 |
> |
# as_fn_executable_p FILE |
| 15075 |
> |
# ----------------------- |
| 15076 |
> |
# Test if FILE is an executable regular file. |
| 15077 |
> |
as_fn_executable_p () |
| 15078 |
> |
{ |
| 15079 |
> |
test -f "$1" && test -x "$1" |
| 15080 |
> |
} # as_fn_executable_p |
| 15081 |
> |
as_test_x='test -x' |
| 15082 |
> |
as_executable_p=as_fn_executable_p |
| 15083 |
|
|
| 15084 |
|
# Sed expression to map a string onto a valid CPP name. |
| 15085 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 15100 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15101 |
|
# values after options handling. |
| 15102 |
|
ac_log=" |
| 15103 |
< |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 15104 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 15103 |
> |
This file was extended by ircd-hybrid $as_me 8beta2, which was |
| 15104 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 15105 |
|
|
| 15106 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15107 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 15166 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15167 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15168 |
|
ac_cs_version="\\ |
| 15169 |
< |
ircd-hybrid config.status 7.3-rc1 |
| 15170 |
< |
configured by $0, generated by GNU Autoconf 2.65, |
| 15169 |
> |
ircd-hybrid config.status 8beta2 |
| 15170 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
| 15171 |
|
with options \\"\$ac_cs_config\\" |
| 15172 |
|
|
| 15173 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 15173 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 15174 |
|
This config.status script is free software; the Free Software Foundation |
| 15175 |
|
gives unlimited permission to copy, distribute and modify it." |
| 15176 |
|
|
| 15188 |
|
while test $# != 0 |
| 15189 |
|
do |
| 15190 |
|
case $1 in |
| 15191 |
< |
--*=*) |
| 15191 |
> |
--*=?*) |
| 15192 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 15193 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 15194 |
|
ac_shift=: |
| 15195 |
|
;; |
| 15196 |
+ |
--*=) |
| 15197 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 15198 |
+ |
ac_optarg= |
| 15199 |
+ |
ac_shift=: |
| 15200 |
+ |
;; |
| 15201 |
|
*) |
| 15202 |
|
ac_option=$1 |
| 15203 |
|
ac_optarg=$2 |
| 15219 |
|
$ac_shift |
| 15220 |
|
case $ac_optarg in |
| 15221 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 15222 |
+ |
'') as_fn_error $? "missing file argument" ;; |
| 15223 |
|
esac |
| 15224 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 15225 |
|
ac_need_defaults=false;; |
| 15232 |
|
ac_need_defaults=false;; |
| 15233 |
|
--he | --h) |
| 15234 |
|
# Conflict between --help and --header |
| 15235 |
< |
as_fn_error "ambiguous option: \`$1' |
| 15235 |
> |
as_fn_error $? "ambiguous option: \`$1' |
| 15236 |
|
Try \`$0 --help' for more information.";; |
| 15237 |
|
--help | --hel | -h ) |
| 15238 |
|
$as_echo "$ac_cs_usage"; exit ;; |
| 15241 |
|
ac_cs_silent=: ;; |
| 15242 |
|
|
| 15243 |
|
# This is an error. |
| 15244 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
| 15244 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
| 15245 |
|
Try \`$0 --help' for more information." ;; |
| 15246 |
|
|
| 15247 |
|
*) as_fn_append ac_config_targets " $1" |
| 15261 |
|
_ACEOF |
| 15262 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15263 |
|
if \$ac_cs_recheck; then |
| 15264 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 15264 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 15265 |
|
shift |
| 15266 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 15267 |
|
CONFIG_SHELL='$SHELL' |
| 15303 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 15304 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 15305 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 15306 |
+ |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 15307 |
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 15308 |
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 15309 |
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 15324 |
|
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 15325 |
|
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 15326 |
|
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 15327 |
+ |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 15328 |
+ |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 15329 |
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 15330 |
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 15331 |
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 15332 |
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 15333 |
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 15334 |
+ |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 15335 |
+ |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 15336 |
+ |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 15337 |
+ |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 15338 |
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 15339 |
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 15340 |
+ |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15341 |
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 15342 |
|
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 15343 |
|
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 15352 |
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 15353 |
|
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 15354 |
|
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"`' |
| 15355 |
+ |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15356 |
+ |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 15357 |
|
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 15358 |
|
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 15359 |
|
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 14658 |
– |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 15360 |
|
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 15361 |
+ |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 15362 |
|
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 15363 |
|
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 15364 |
|
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 15365 |
+ |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 15366 |
|
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 15367 |
|
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 15368 |
|
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 15386 |
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 15387 |
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 15388 |
|
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 14686 |
– |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
| 15389 |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 15390 |
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 15391 |
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 15394 |
|
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 15395 |
|
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 15396 |
|
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 14695 |
– |
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
| 15397 |
|
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 15398 |
|
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 15399 |
|
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 15400 |
|
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 15401 |
|
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 15402 |
+ |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 15403 |
|
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 15404 |
|
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 15405 |
|
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 15441 |
|
# Quote evaled strings. |
| 15442 |
|
for var in SHELL \ |
| 15443 |
|
ECHO \ |
| 15444 |
+ |
PATH_SEPARATOR \ |
| 15445 |
|
SED \ |
| 15446 |
|
GREP \ |
| 15447 |
|
EGREP \ |
| 15455 |
|
OBJDUMP \ |
| 15456 |
|
deplibs_check_method \ |
| 15457 |
|
file_magic_cmd \ |
| 15458 |
+ |
file_magic_glob \ |
| 15459 |
+ |
want_nocaseglob \ |
| 15460 |
+ |
DLLTOOL \ |
| 15461 |
+ |
sharedlib_from_linklib_cmd \ |
| 15462 |
|
AR \ |
| 15463 |
|
AR_FLAGS \ |
| 15464 |
+ |
archiver_list_spec \ |
| 15465 |
|
STRIP \ |
| 15466 |
|
RANLIB \ |
| 15467 |
|
CC \ |
| 15471 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
| 15472 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
| 15473 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 15474 |
+ |
nm_file_list_spec \ |
| 15475 |
|
lt_prog_compiler_no_builtin_flag \ |
| 14767 |
– |
lt_prog_compiler_wl \ |
| 15476 |
|
lt_prog_compiler_pic \ |
| 15477 |
+ |
lt_prog_compiler_wl \ |
| 15478 |
|
lt_prog_compiler_static \ |
| 15479 |
|
lt_cv_prog_compiler_c_o \ |
| 15480 |
|
need_locks \ |
| 15481 |
+ |
MANIFEST_TOOL \ |
| 15482 |
|
DSYMUTIL \ |
| 15483 |
|
NMEDIT \ |
| 15484 |
|
LIPO \ |
| 15492 |
|
allow_undefined_flag \ |
| 15493 |
|
no_undefined_flag \ |
| 15494 |
|
hardcode_libdir_flag_spec \ |
| 14785 |
– |
hardcode_libdir_flag_spec_ld \ |
| 15495 |
|
hardcode_libdir_separator \ |
| 14787 |
– |
fix_srcfile_path \ |
| 15496 |
|
exclude_expsyms \ |
| 15497 |
|
include_expsyms \ |
| 15498 |
|
file_list_spec \ |
| 15528 |
|
module_expsym_cmds \ |
| 15529 |
|
export_symbols_cmds \ |
| 15530 |
|
prelink_cmds \ |
| 15531 |
+ |
postlink_cmds \ |
| 15532 |
|
postinstall_cmds \ |
| 15533 |
|
postuninstall_cmds \ |
| 15534 |
|
finish_cmds \ |
| 15576 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 15577 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 15578 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 14870 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 14871 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 15579 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15580 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 15581 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 15589 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 15590 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 15591 |
|
|
| 15592 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15592 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15593 |
|
esac |
| 15594 |
|
done |
| 15595 |
|
|
| 15612 |
|
# after its creation but before its name has been assigned to `$tmp'. |
| 15613 |
|
$debug || |
| 15614 |
|
{ |
| 15615 |
< |
tmp= |
| 15615 |
> |
tmp= ac_tmp= |
| 15616 |
|
trap 'exit_status=$? |
| 15617 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 15617 |
> |
: "${ac_tmp:=$tmp}" |
| 15618 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 15619 |
|
' 0 |
| 15620 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
| 15621 |
|
} |
| 15623 |
|
|
| 15624 |
|
{ |
| 15625 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 15626 |
< |
test -n "$tmp" && test -d "$tmp" |
| 15626 |
> |
test -d "$tmp" |
| 15627 |
|
} || |
| 15628 |
|
{ |
| 15629 |
|
tmp=./conf$$-$RANDOM |
| 15630 |
|
(umask 077 && mkdir "$tmp") |
| 15631 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 15631 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 15632 |
> |
ac_tmp=$tmp |
| 15633 |
|
|
| 15634 |
|
# Set up the scripts for CONFIG_FILES section. |
| 15635 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 15646 |
|
fi |
| 15647 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 15648 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 15649 |
< |
ac_cs_awk_cr='\r' |
| 15649 |
> |
ac_cs_awk_cr='\\r' |
| 15650 |
|
else |
| 15651 |
|
ac_cs_awk_cr=$ac_cr |
| 15652 |
|
fi |
| 15653 |
|
|
| 15654 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 15654 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 15655 |
|
_ACEOF |
| 15656 |
|
|
| 15657 |
|
|
| 15660 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 15661 |
|
echo "_ACEOF" |
| 15662 |
|
} >conf$$subs.sh || |
| 15663 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15664 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 15663 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15664 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 15665 |
|
ac_delim='%!_!# ' |
| 15666 |
|
for ac_last_try in false false false false false :; do |
| 15667 |
|
. ./conf$$subs.sh || |
| 15668 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15668 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15669 |
|
|
| 15670 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 15671 |
|
if test $ac_delim_n = $ac_delim_num; then |
| 15672 |
|
break |
| 15673 |
|
elif $ac_last_try; then |
| 15674 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15674 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 15675 |
|
else |
| 15676 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15677 |
|
fi |
| 15679 |
|
rm -f conf$$subs.sh |
| 15680 |
|
|
| 15681 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15682 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 15682 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 15683 |
|
_ACEOF |
| 15684 |
|
sed -n ' |
| 15685 |
|
h |
| 15727 |
|
rm -f conf$$subs.awk |
| 15728 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15729 |
|
_ACAWK |
| 15730 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 15730 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 15731 |
|
for (key in S) S_is_set[key] = 1 |
| 15732 |
|
FS = "" |
| 15733 |
|
|
| 15759 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 15760 |
|
else |
| 15761 |
|
cat |
| 15762 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 15763 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 15762 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 15763 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 15764 |
|
_ACEOF |
| 15765 |
|
|
| 15766 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 15767 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 15766 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 15767 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 15768 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 15769 |
|
# (actually we leave an empty line to preserve line numbers). |
| 15770 |
|
if test "x$srcdir" = x.; then |
| 15771 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 15772 |
< |
s/:*\$(srcdir):*/:/ |
| 15773 |
< |
s/:*\${srcdir}:*/:/ |
| 15774 |
< |
s/:*@srcdir@:*/:/ |
| 15775 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
| 15771 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 15772 |
> |
h |
| 15773 |
> |
s/// |
| 15774 |
> |
s/^/:/ |
| 15775 |
> |
s/[ ]*$/:/ |
| 15776 |
> |
s/:\$(srcdir):/:/g |
| 15777 |
> |
s/:\${srcdir}:/:/g |
| 15778 |
> |
s/:@srcdir@:/:/g |
| 15779 |
> |
s/^:*// |
| 15780 |
|
s/:*$// |
| 15781 |
+ |
x |
| 15782 |
+ |
s/\(=[ ]*\).*/\1/ |
| 15783 |
+ |
G |
| 15784 |
+ |
s/\n// |
| 15785 |
|
s/^[^=]*=[ ]*$// |
| 15786 |
|
}' |
| 15787 |
|
fi |
| 15793 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
| 15794 |
|
# This happens for instance with `./config.status Makefile'. |
| 15795 |
|
if test -n "$CONFIG_HEADERS"; then |
| 15796 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 15796 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 15797 |
|
BEGIN { |
| 15798 |
|
_ACEOF |
| 15799 |
|
|
| 15805 |
|
# handling of long lines. |
| 15806 |
|
ac_delim='%!_!# ' |
| 15807 |
|
for ac_last_try in false false :; do |
| 15808 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 15809 |
< |
if test -z "$ac_t"; then |
| 15808 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 15809 |
> |
if test -z "$ac_tt"; then |
| 15810 |
|
break |
| 15811 |
|
elif $ac_last_try; then |
| 15812 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 15812 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 15813 |
|
else |
| 15814 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15815 |
|
fi |
| 15894 |
|
_ACAWK |
| 15895 |
|
_ACEOF |
| 15896 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 15897 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 15897 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 15898 |
|
fi # test -n "$CONFIG_HEADERS" |
| 15899 |
|
|
| 15900 |
|
|
| 15907 |
|
esac |
| 15908 |
|
case $ac_mode$ac_tag in |
| 15909 |
|
:[FHL]*:*);; |
| 15910 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 15910 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 15911 |
|
:[FH]-) ac_tag=-:-;; |
| 15912 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 15913 |
|
esac |
| 15926 |
|
for ac_f |
| 15927 |
|
do |
| 15928 |
|
case $ac_f in |
| 15929 |
< |
-) ac_f="$tmp/stdin";; |
| 15929 |
> |
-) ac_f="$ac_tmp/stdin";; |
| 15930 |
|
*) # Look for the file first in the build tree, then in the source tree |
| 15931 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 15932 |
|
# because $ac_f cannot contain `:'. |
| 15935 |
|
[\\/$]*) false;; |
| 15936 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 15937 |
|
esac || |
| 15938 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 15938 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 15939 |
|
esac |
| 15940 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 15941 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 15961 |
|
esac |
| 15962 |
|
|
| 15963 |
|
case $ac_tag in |
| 15964 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 15965 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 15964 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 15965 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 15966 |
|
esac |
| 15967 |
|
;; |
| 15968 |
|
esac |
| 16098 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 16099 |
|
$ac_datarootdir_hack |
| 16100 |
|
" |
| 16101 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 16102 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 16101 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 16102 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16103 |
|
|
| 16104 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 16105 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 16106 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 16105 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 16106 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 16107 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 16108 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 16109 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
| 16109 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
| 16110 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 16111 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 16111 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 16112 |
|
|
| 16113 |
< |
rm -f "$tmp/stdin" |
| 16113 |
> |
rm -f "$ac_tmp/stdin" |
| 16114 |
|
case $ac_file in |
| 16115 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 16116 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 16115 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 16116 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 16117 |
|
esac \ |
| 16118 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 16118 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16119 |
|
;; |
| 16120 |
|
:H) |
| 16121 |
|
# |
| 16124 |
|
if test x"$ac_file" != x-; then |
| 16125 |
|
{ |
| 16126 |
|
$as_echo "/* $configure_input */" \ |
| 16127 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 16128 |
< |
} >"$tmp/config.h" \ |
| 16129 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 16130 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 16127 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 16128 |
> |
} >"$ac_tmp/config.h" \ |
| 16129 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16130 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 16131 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 16132 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 16133 |
|
else |
| 16134 |
|
rm -f "$ac_file" |
| 16135 |
< |
mv "$tmp/config.h" "$ac_file" \ |
| 16136 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 16135 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 16136 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 16137 |
|
fi |
| 16138 |
|
else |
| 16139 |
|
$as_echo "/* $configure_input */" \ |
| 16140 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 16141 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
| 16140 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 16141 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 16142 |
|
fi |
| 16143 |
|
# Compute "$ac_file"'s index in $config_headers. |
| 16144 |
|
_am_arg="$ac_file" |
| 16197 |
|
# Strip MF so we end up with the name of the file. |
| 16198 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 16199 |
|
# Check whether this is an Automake generated Makefile or not. |
| 16200 |
< |
# We used to match only the files named `Makefile.in', but |
| 16200 |
> |
# We used to match only the files named 'Makefile.in', but |
| 16201 |
|
# some people rename them; so instead we look at the file content. |
| 16202 |
|
# Grep'ing the first line is not enough: some people post-process |
| 16203 |
|
# each Makefile.in and add a new line on top of each file to say so. |
| 16231 |
|
continue |
| 16232 |
|
fi |
| 16233 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
| 16234 |
< |
# from the Makefile without running `make'. |
| 16234 |
> |
# from the Makefile without running 'make'. |
| 16235 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16236 |
|
test -z "$DEPDIR" && continue |
| 16237 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16238 |
|
test -z "am__include" && continue |
| 16239 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 15522 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 15523 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
| 16240 |
|
# Find all dependency output files, they are included files with |
| 16241 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 16242 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 16243 |
|
# expansion. |
| 16244 |
|
for file in `sed -n " |
| 16245 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 16246 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 16246 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 16247 |
|
# Make sure the directory exists. |
| 16248 |
|
test -f "$dirpart/$file" && continue |
| 16249 |
|
fdir=`$as_dirname -- "$file" || |
| 16297 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 16298 |
|
# |
| 16299 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 16300 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 16301 |
< |
# Inc. |
| 16300 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 16301 |
> |
# Foundation, Inc. |
| 16302 |
|
# Written by Gordon Matzigkeit, 1996 |
| 16303 |
|
# |
| 16304 |
|
# This file is part of GNU Libtool. |
| 16352 |
|
# An echo program that protects backslashes. |
| 16353 |
|
ECHO=$lt_ECHO |
| 16354 |
|
|
| 16355 |
+ |
# The PATH separator for the build system. |
| 16356 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 16357 |
+ |
|
| 16358 |
|
# The host system. |
| 16359 |
|
host_alias=$host_alias |
| 16360 |
|
host=$host |
| 16404 |
|
# turn newlines into spaces. |
| 16405 |
|
NL2SP=$lt_lt_NL2SP |
| 16406 |
|
|
| 16407 |
+ |
# convert \$build file names to \$host format. |
| 16408 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 16409 |
+ |
|
| 16410 |
+ |
# convert \$build files to toolchain format. |
| 16411 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 16412 |
+ |
|
| 16413 |
|
# An object symbol dumper. |
| 16414 |
|
OBJDUMP=$lt_OBJDUMP |
| 16415 |
|
|
| 16416 |
|
# Method to check whether dependent libraries are shared objects. |
| 16417 |
|
deplibs_check_method=$lt_deplibs_check_method |
| 16418 |
|
|
| 16419 |
< |
# Command to use when deplibs_check_method == "file_magic". |
| 16419 |
> |
# Command to use when deplibs_check_method = "file_magic". |
| 16420 |
|
file_magic_cmd=$lt_file_magic_cmd |
| 16421 |
|
|
| 16422 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
| 16423 |
+ |
file_magic_glob=$lt_file_magic_glob |
| 16424 |
+ |
|
| 16425 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 16426 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
| 16427 |
+ |
|
| 16428 |
+ |
# DLL creation program. |
| 16429 |
+ |
DLLTOOL=$lt_DLLTOOL |
| 16430 |
+ |
|
| 16431 |
+ |
# Command to associate shared and link libraries. |
| 16432 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 16433 |
+ |
|
| 16434 |
|
# The archiver. |
| 16435 |
|
AR=$lt_AR |
| 16436 |
+ |
|
| 16437 |
+ |
# Flags to create an archive. |
| 16438 |
|
AR_FLAGS=$lt_AR_FLAGS |
| 16439 |
|
|
| 16440 |
+ |
# How to feed a file listing to the archiver. |
| 16441 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
| 16442 |
+ |
|
| 16443 |
|
# A symbol stripping program. |
| 16444 |
|
STRIP=$lt_STRIP |
| 16445 |
|
|
| 16469 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
| 16470 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 16471 |
|
|
| 16472 |
+ |
# Specify filename containing input files for \$NM. |
| 16473 |
+ |
nm_file_list_spec=$lt_nm_file_list_spec |
| 16474 |
+ |
|
| 16475 |
+ |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
| 16476 |
+ |
lt_sysroot=$lt_sysroot |
| 16477 |
+ |
|
| 16478 |
|
# The name of the directory that contains temporary libtool files. |
| 16479 |
|
objdir=$objdir |
| 16480 |
|
|
| 16484 |
|
# Must we lock files when doing compilation? |
| 16485 |
|
need_locks=$lt_need_locks |
| 16486 |
|
|
| 16487 |
+ |
# Manifest tool. |
| 16488 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 16489 |
+ |
|
| 16490 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 16491 |
|
DSYMUTIL=$lt_DSYMUTIL |
| 16492 |
|
|
| 16601 |
|
# Compiler flag to turn off builtin functions. |
| 16602 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 16603 |
|
|
| 15853 |
– |
# How to pass a linker flag through the compiler. |
| 15854 |
– |
wl=$lt_lt_prog_compiler_wl |
| 15855 |
– |
|
| 16604 |
|
# Additional compiler flags for building library objects. |
| 16605 |
|
pic_flag=$lt_lt_prog_compiler_pic |
| 16606 |
|
|
| 16607 |
+ |
# How to pass a linker flag through the compiler. |
| 16608 |
+ |
wl=$lt_lt_prog_compiler_wl |
| 16609 |
+ |
|
| 16610 |
|
# Compiler flag to prevent dynamic linking. |
| 16611 |
|
link_static_flag=$lt_lt_prog_compiler_static |
| 16612 |
|
|
| 16656 |
|
# This must work even if \$libdir does not exist |
| 16657 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 16658 |
|
|
| 15908 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
| 15909 |
– |
# during linking. This must work even if \$libdir does not exist. |
| 15910 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
| 15911 |
– |
|
| 16659 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
| 16660 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 16661 |
|
|
| 16689 |
|
# Whether libtool must link a program against all its dependency libraries. |
| 16690 |
|
link_all_deplibs=$link_all_deplibs |
| 16691 |
|
|
| 15945 |
– |
# Fix the shell variable \$srcfile for the compiler. |
| 15946 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
| 15947 |
– |
|
| 16692 |
|
# Set to "yes" if exported symbols are required. |
| 16693 |
|
always_export_symbols=$always_export_symbols |
| 16694 |
|
|
| 16704 |
|
# Commands necessary for linking programs (against libraries) with templates. |
| 16705 |
|
prelink_cmds=$lt_prelink_cmds |
| 16706 |
|
|
| 16707 |
+ |
# Commands necessary for finishing linking programs. |
| 16708 |
+ |
postlink_cmds=$lt_postlink_cmds |
| 16709 |
+ |
|
| 16710 |
|
# Specify filename containing input files. |
| 16711 |
|
file_list_spec=$lt_file_list_spec |
| 16712 |
|
|
| 16739 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 16740 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
| 16741 |
|
# is reportedly fixed, but why not run on old versions too? |
| 16742 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
| 16743 |
< |
|| (rm -f "$cfgfile"; exit 1) |
| 15997 |
< |
|
| 15998 |
< |
case $xsi_shell in |
| 15999 |
< |
yes) |
| 16000 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16001 |
< |
|
| 16002 |
< |
# func_dirname file append nondir_replacement |
| 16003 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16004 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16005 |
< |
func_dirname () |
| 16006 |
< |
{ |
| 16007 |
< |
case ${1} in |
| 16008 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16009 |
< |
* ) func_dirname_result="${3}" ;; |
| 16010 |
< |
esac |
| 16011 |
< |
} |
| 16012 |
< |
|
| 16013 |
< |
# func_basename file |
| 16014 |
< |
func_basename () |
| 16015 |
< |
{ |
| 16016 |
< |
func_basename_result="${1##*/}" |
| 16017 |
< |
} |
| 16018 |
< |
|
| 16019 |
< |
# func_dirname_and_basename file append nondir_replacement |
| 16020 |
< |
# perform func_basename and func_dirname in a single function |
| 16021 |
< |
# call: |
| 16022 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
| 16023 |
< |
# add APPEND to the result, otherwise set result |
| 16024 |
< |
# to NONDIR_REPLACEMENT. |
| 16025 |
< |
# value returned in "$func_dirname_result" |
| 16026 |
< |
# basename: Compute filename of FILE. |
| 16027 |
< |
# value retuned in "$func_basename_result" |
| 16028 |
< |
# Implementation must be kept synchronized with func_dirname |
| 16029 |
< |
# and func_basename. For efficiency, we do not delegate to |
| 16030 |
< |
# those functions but instead duplicate the functionality here. |
| 16031 |
< |
func_dirname_and_basename () |
| 16032 |
< |
{ |
| 16033 |
< |
case ${1} in |
| 16034 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16035 |
< |
* ) func_dirname_result="${3}" ;; |
| 16036 |
< |
esac |
| 16037 |
< |
func_basename_result="${1##*/}" |
| 16038 |
< |
} |
| 16039 |
< |
|
| 16040 |
< |
# func_stripname prefix suffix name |
| 16041 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16042 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16043 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16044 |
< |
# dot (in which case that matches only a dot). |
| 16045 |
< |
func_stripname () |
| 16046 |
< |
{ |
| 16047 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
| 16048 |
< |
# positional parameters, so assign one to ordinary parameter first. |
| 16049 |
< |
func_stripname_result=${3} |
| 16050 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
| 16051 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
| 16052 |
< |
} |
| 16053 |
< |
|
| 16054 |
< |
# func_opt_split |
| 16055 |
< |
func_opt_split () |
| 16056 |
< |
{ |
| 16057 |
< |
func_opt_split_opt=${1%%=*} |
| 16058 |
< |
func_opt_split_arg=${1#*=} |
| 16059 |
< |
} |
| 16060 |
< |
|
| 16061 |
< |
# func_lo2o object |
| 16062 |
< |
func_lo2o () |
| 16063 |
< |
{ |
| 16064 |
< |
case ${1} in |
| 16065 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
| 16066 |
< |
*) func_lo2o_result=${1} ;; |
| 16067 |
< |
esac |
| 16068 |
< |
} |
| 16069 |
< |
|
| 16070 |
< |
# func_xform libobj-or-source |
| 16071 |
< |
func_xform () |
| 16072 |
< |
{ |
| 16073 |
< |
func_xform_result=${1%.*}.lo |
| 16074 |
< |
} |
| 16075 |
< |
|
| 16076 |
< |
# func_arith arithmetic-term... |
| 16077 |
< |
func_arith () |
| 16078 |
< |
{ |
| 16079 |
< |
func_arith_result=$(( $* )) |
| 16080 |
< |
} |
| 16081 |
< |
|
| 16082 |
< |
# func_len string |
| 16083 |
< |
# STRING may not start with a hyphen. |
| 16084 |
< |
func_len () |
| 16085 |
< |
{ |
| 16086 |
< |
func_len_result=${#1} |
| 16087 |
< |
} |
| 16088 |
< |
|
| 16089 |
< |
_LT_EOF |
| 16090 |
< |
;; |
| 16091 |
< |
*) # Bourne compatible functions. |
| 16092 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16093 |
< |
|
| 16094 |
< |
# func_dirname file append nondir_replacement |
| 16095 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16096 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16097 |
< |
func_dirname () |
| 16098 |
< |
{ |
| 16099 |
< |
# Extract subdirectory from the argument. |
| 16100 |
< |
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 16101 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
| 16102 |
< |
func_dirname_result="${3}" |
| 16103 |
< |
else |
| 16104 |
< |
func_dirname_result="$func_dirname_result${2}" |
| 16105 |
< |
fi |
| 16106 |
< |
} |
| 16107 |
< |
|
| 16108 |
< |
# func_basename file |
| 16109 |
< |
func_basename () |
| 16110 |
< |
{ |
| 16111 |
< |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 16112 |
< |
} |
| 16113 |
< |
|
| 16114 |
< |
|
| 16115 |
< |
# func_stripname prefix suffix name |
| 16116 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16117 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16118 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16119 |
< |
# dot (in which case that matches only a dot). |
| 16120 |
< |
# func_strip_suffix prefix name |
| 16121 |
< |
func_stripname () |
| 16122 |
< |
{ |
| 16123 |
< |
case ${2} in |
| 16124 |
< |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 16125 |
< |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 16126 |
< |
esac |
| 16127 |
< |
} |
| 16128 |
< |
|
| 16129 |
< |
# sed scripts: |
| 16130 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
| 16131 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
| 16132 |
< |
|
| 16133 |
< |
# func_opt_split |
| 16134 |
< |
func_opt_split () |
| 16135 |
< |
{ |
| 16136 |
< |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 16137 |
< |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 16138 |
< |
} |
| 16139 |
< |
|
| 16140 |
< |
# func_lo2o object |
| 16141 |
< |
func_lo2o () |
| 16142 |
< |
{ |
| 16143 |
< |
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 16144 |
< |
} |
| 16145 |
< |
|
| 16146 |
< |
# func_xform libobj-or-source |
| 16147 |
< |
func_xform () |
| 16148 |
< |
{ |
| 16149 |
< |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
| 16150 |
< |
} |
| 16151 |
< |
|
| 16152 |
< |
# func_arith arithmetic-term... |
| 16153 |
< |
func_arith () |
| 16154 |
< |
{ |
| 16155 |
< |
func_arith_result=`expr "$@"` |
| 16156 |
< |
} |
| 16157 |
< |
|
| 16158 |
< |
# func_len string |
| 16159 |
< |
# STRING may not start with a hyphen. |
| 16160 |
< |
func_len () |
| 16161 |
< |
{ |
| 16162 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
| 16163 |
< |
} |
| 16164 |
< |
|
| 16165 |
< |
_LT_EOF |
| 16166 |
< |
esac |
| 16167 |
< |
|
| 16168 |
< |
case $lt_shell_append in |
| 16169 |
< |
yes) |
| 16170 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16171 |
< |
|
| 16172 |
< |
# func_append var value |
| 16173 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16174 |
< |
func_append () |
| 16175 |
< |
{ |
| 16176 |
< |
eval "$1+=\$2" |
| 16177 |
< |
} |
| 16178 |
< |
_LT_EOF |
| 16179 |
< |
;; |
| 16180 |
< |
*) |
| 16181 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16182 |
< |
|
| 16183 |
< |
# func_append var value |
| 16184 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16185 |
< |
func_append () |
| 16186 |
< |
{ |
| 16187 |
< |
eval "$1=\$$1\$2" |
| 16188 |
< |
} |
| 16189 |
< |
|
| 16190 |
< |
_LT_EOF |
| 16191 |
< |
;; |
| 16192 |
< |
esac |
| 16742 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
| 16743 |
> |
|| (rm -f "$cfgfile"; exit 1) |
| 16744 |
|
|
| 16745 |
+ |
if test x"$xsi_shell" = xyes; then |
| 16746 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 16747 |
+ |
func_dirname ()\ |
| 16748 |
+ |
{\ |
| 16749 |
+ |
\ case ${1} in\ |
| 16750 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16751 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 16752 |
+ |
\ esac\ |
| 16753 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16754 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16755 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16756 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16757 |
+ |
|
| 16758 |
+ |
|
| 16759 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 16760 |
+ |
func_basename ()\ |
| 16761 |
+ |
{\ |
| 16762 |
+ |
\ func_basename_result="${1##*/}"\ |
| 16763 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16764 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16765 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16766 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16767 |
+ |
|
| 16768 |
+ |
|
| 16769 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 16770 |
+ |
func_dirname_and_basename ()\ |
| 16771 |
+ |
{\ |
| 16772 |
+ |
\ case ${1} in\ |
| 16773 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16774 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 16775 |
+ |
\ esac\ |
| 16776 |
+ |
\ func_basename_result="${1##*/}"\ |
| 16777 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16778 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16779 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16780 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16781 |
+ |
|
| 16782 |
+ |
|
| 16783 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 16784 |
+ |
func_stripname ()\ |
| 16785 |
+ |
{\ |
| 16786 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 16787 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
| 16788 |
+ |
\ func_stripname_result=${3}\ |
| 16789 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 16790 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 16791 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16792 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16793 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16794 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16795 |
+ |
|
| 16796 |
+ |
|
| 16797 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 16798 |
+ |
func_split_long_opt ()\ |
| 16799 |
+ |
{\ |
| 16800 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
| 16801 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
| 16802 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16803 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16804 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16805 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16806 |
+ |
|
| 16807 |
+ |
|
| 16808 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 16809 |
+ |
func_split_short_opt ()\ |
| 16810 |
+ |
{\ |
| 16811 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
| 16812 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 16813 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16814 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16815 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16816 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16817 |
+ |
|
| 16818 |
+ |
|
| 16819 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 16820 |
+ |
func_lo2o ()\ |
| 16821 |
+ |
{\ |
| 16822 |
+ |
\ case ${1} in\ |
| 16823 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 16824 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
| 16825 |
+ |
\ esac\ |
| 16826 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16827 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16828 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16829 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16830 |
+ |
|
| 16831 |
+ |
|
| 16832 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 16833 |
+ |
func_xform ()\ |
| 16834 |
+ |
{\ |
| 16835 |
+ |
func_xform_result=${1%.*}.lo\ |
| 16836 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16837 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16838 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16839 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16840 |
+ |
|
| 16841 |
+ |
|
| 16842 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 16843 |
+ |
func_arith ()\ |
| 16844 |
+ |
{\ |
| 16845 |
+ |
func_arith_result=$(( $* ))\ |
| 16846 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16847 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16848 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16849 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16850 |
+ |
|
| 16851 |
+ |
|
| 16852 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 16853 |
+ |
func_len ()\ |
| 16854 |
+ |
{\ |
| 16855 |
+ |
func_len_result=${#1}\ |
| 16856 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16857 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16858 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16859 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16860 |
+ |
|
| 16861 |
+ |
fi |
| 16862 |
+ |
|
| 16863 |
+ |
if test x"$lt_shell_append" = xyes; then |
| 16864 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 16865 |
+ |
func_append ()\ |
| 16866 |
+ |
{\ |
| 16867 |
+ |
eval "${1}+=\\${2}"\ |
| 16868 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16869 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16870 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16871 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16872 |
+ |
|
| 16873 |
+ |
|
| 16874 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 16875 |
+ |
func_append_quoted ()\ |
| 16876 |
+ |
{\ |
| 16877 |
+ |
\ func_quote_for_eval "${2}"\ |
| 16878 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 16879 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16880 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16881 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16882 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16883 |
+ |
|
| 16884 |
+ |
|
| 16885 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
| 16886 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 16887 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16888 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16889 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16890 |
+ |
else |
| 16891 |
+ |
# Save a `func_append' function call even when '+=' is not available |
| 16892 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| 16893 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16894 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16895 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16896 |
+ |
fi |
| 16897 |
+ |
|
| 16898 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
| 16899 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
| 16900 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| 16901 |
+ |
fi |
| 16902 |
|
|
| 16195 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
| 16196 |
– |
|| (rm -f "$cfgfile"; exit 1) |
| 16903 |
|
|
| 16904 |
< |
mv -f "$cfgfile" "$ofile" || |
| 16904 |
> |
mv -f "$cfgfile" "$ofile" || |
| 16905 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 16906 |
|
chmod +x "$ofile" |
| 16907 |
|
|
| 16916 |
|
ac_clean_files=$ac_clean_files_save |
| 16917 |
|
|
| 16918 |
|
test $ac_write_fail = 0 || |
| 16919 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 16919 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 16920 |
|
|
| 16921 |
|
|
| 16922 |
|
# configure is writing to config.log, and then calls config.status. |
| 16937 |
|
exec 5>>config.log |
| 16938 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 16939 |
|
# would make configure fail if this is the last instruction. |
| 16940 |
< |
$ac_cs_success || as_fn_exit $? |
| 16940 |
> |
$ac_cs_success || as_fn_exit 1 |
| 16941 |
|
fi |
| 16942 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 16943 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |