| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 6222 2015-07-01 18:09:27Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8848 2019-02-09 18:31:58Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm TRUNK. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.1.6. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 591 |
|
# Identity of this package. |
| 592 |
|
PACKAGE_NAME='hopm' |
| 593 |
|
PACKAGE_TARNAME='hopm' |
| 594 |
< |
PACKAGE_VERSION='TRUNK' |
| 595 |
< |
PACKAGE_STRING='hopm TRUNK' |
| 594 |
> |
PACKAGE_VERSION='1.1.6' |
| 595 |
> |
PACKAGE_STRING='hopm 1.1.6' |
| 596 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 638 |
|
am__EXEEXT_TRUE |
| 639 |
|
LTLIBOBJS |
| 640 |
|
LIBOBJS |
| 641 |
– |
ENABLE_SSL_FALSE |
| 642 |
– |
ENABLE_SSL_TRUE |
| 641 |
|
LEXLIB |
| 642 |
|
LEX_OUTPUT_ROOT |
| 643 |
|
LEX |
| 681 |
|
AMDEPBACKSLASH |
| 682 |
|
AMDEP_FALSE |
| 683 |
|
AMDEP_TRUE |
| 686 |
– |
am__quote |
| 684 |
|
am__include |
| 685 |
|
DEPDIR |
| 686 |
|
OBJEXT |
| 757 |
|
PACKAGE_TARNAME |
| 758 |
|
PACKAGE_NAME |
| 759 |
|
PATH_SEPARATOR |
| 760 |
< |
SHELL' |
| 760 |
> |
SHELL |
| 761 |
> |
am__quote' |
| 762 |
|
ac_subst_files='' |
| 763 |
|
ac_user_opts=' |
| 764 |
|
enable_option_checking |
| 776 |
|
enable_openssl |
| 777 |
|
enable_assert |
| 778 |
|
enable_warnings |
| 779 |
+ |
enable_efence |
| 780 |
|
' |
| 781 |
|
ac_precious_vars='build_alias |
| 782 |
|
host_alias |
| 1330 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1331 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1332 |
|
cat <<_ACEOF |
| 1333 |
< |
\`configure' configures hopm TRUNK to adapt to many kinds of systems. |
| 1333 |
> |
\`configure' configures hopm 1.1.6 to adapt to many kinds of systems. |
| 1334 |
|
|
| 1335 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1336 |
|
|
| 1400 |
|
|
| 1401 |
|
if test -n "$ac_init_help"; then |
| 1402 |
|
case $ac_init_help in |
| 1403 |
< |
short | recursive ) echo "Configuration of hopm TRUNK:";; |
| 1403 |
> |
short | recursive ) echo "Configuration of hopm 1.1.6:";; |
| 1404 |
|
esac |
| 1405 |
|
cat <<\_ACEOF |
| 1406 |
|
|
| 1426 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1427 |
|
--enable-assert Enable assert() statements |
| 1428 |
|
--enable-warnings Enable compiler warnings. |
| 1429 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1430 |
+ |
debugger library. |
| 1431 |
|
|
| 1432 |
|
Optional Packages: |
| 1433 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1525 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1526 |
|
if $ac_init_version; then |
| 1527 |
|
cat <<\_ACEOF |
| 1528 |
< |
hopm configure TRUNK |
| 1528 |
> |
hopm configure 1.1.6 |
| 1529 |
|
generated by GNU Autoconf 2.69 |
| 1530 |
|
|
| 1531 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1803 |
|
This file contains any messages produced by compilers while |
| 1804 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1805 |
|
|
| 1806 |
< |
It was created by hopm $as_me TRUNK, which was |
| 1806 |
> |
It was created by hopm $as_me 1.1.6, which was |
| 1807 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1808 |
|
|
| 1809 |
|
$ $0 $@ |
| 2151 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2152 |
|
|
| 2153 |
|
|
| 2154 |
< |
am__api_version='1.15' |
| 2154 |
> |
am__api_version='1.16' |
| 2155 |
|
|
| 2156 |
|
ac_aux_dir= |
| 2157 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2666 |
|
|
| 2667 |
|
# Define the identity of the package. |
| 2668 |
|
PACKAGE='hopm' |
| 2669 |
< |
VERSION='TRUNK' |
| 2669 |
> |
VERSION='1.1.6' |
| 2670 |
|
|
| 2671 |
|
|
| 2672 |
|
cat >>confdefs.h <<_ACEOF |
| 2696 |
|
|
| 2697 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2698 |
|
# dies out for good. For more background, see: |
| 2699 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2700 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2699 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2700 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2701 |
|
mkdir_p='$(MKDIR_P)' |
| 2702 |
|
|
| 2703 |
|
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2748 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
| 2749 |
|
|
| 2750 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
| 2751 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 2751 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 2752 |
|
|
| 2753 |
|
If you want to complete the configuration process using your problematic |
| 2754 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 2792 |
|
|
| 2793 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 2794 |
|
|
| 2795 |
< |
|
| 2796 |
< |
am_make=${MAKE-make} |
| 2797 |
< |
cat > confinc << 'END' |
| 2795 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 2796 |
> |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 2797 |
> |
cat > confinc.mk << 'END' |
| 2798 |
|
am__doit: |
| 2799 |
< |
@echo this is the am__doit target |
| 2799 |
> |
@echo this is the am__doit target >confinc.out |
| 2800 |
|
.PHONY: am__doit |
| 2801 |
|
END |
| 2801 |
– |
# If we don't find an include directive, just comment out the code. |
| 2802 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 2803 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 2802 |
|
am__include="#" |
| 2803 |
|
am__quote= |
| 2804 |
< |
_am_result=none |
| 2805 |
< |
# First try GNU make style include. |
| 2806 |
< |
echo "include confinc" > confmf |
| 2807 |
< |
# Ignore all kinds of additional output from 'make'. |
| 2808 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2809 |
< |
*the\ am__doit\ target*) |
| 2810 |
< |
am__include=include |
| 2811 |
< |
am__quote= |
| 2812 |
< |
_am_result=GNU |
| 2813 |
< |
;; |
| 2814 |
< |
esac |
| 2815 |
< |
# Now try BSD make style include. |
| 2816 |
< |
if test "$am__include" = "#"; then |
| 2817 |
< |
echo '.include "confinc"' > confmf |
| 2818 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2819 |
< |
*the\ am__doit\ target*) |
| 2820 |
< |
am__include=.include |
| 2821 |
< |
am__quote="\"" |
| 2822 |
< |
_am_result=BSD |
| 2804 |
> |
# BSD make does it like this. |
| 2805 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 2806 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 2807 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 2808 |
> |
_am_result=no |
| 2809 |
> |
for s in GNU BSD; do |
| 2810 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 2811 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 2812 |
> |
ac_status=$? |
| 2813 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2814 |
> |
(exit $ac_status); } |
| 2815 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 2816 |
> |
'0:this is the am__doit target') : |
| 2817 |
> |
case $s in #( |
| 2818 |
> |
BSD) : |
| 2819 |
> |
am__include='.include' am__quote='"' ;; #( |
| 2820 |
> |
*) : |
| 2821 |
> |
am__include='include' am__quote='' ;; |
| 2822 |
> |
esac ;; #( |
| 2823 |
> |
*) : |
| 2824 |
|
;; |
| 2825 |
< |
esac |
| 2826 |
< |
fi |
| 2827 |
< |
|
| 2828 |
< |
|
| 2829 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 2830 |
< |
$as_echo "$_am_result" >&6; } |
| 2831 |
< |
rm -f confinc confmf |
| 2825 |
> |
esac |
| 2826 |
> |
if test "$am__include" != "#"; then |
| 2827 |
> |
_am_result="yes ($s style)" |
| 2828 |
> |
break |
| 2829 |
> |
fi |
| 2830 |
> |
done |
| 2831 |
> |
rm -f confinc.* confmf.* |
| 2832 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 2833 |
> |
$as_echo "${_am_result}" >&6; } |
| 2834 |
|
|
| 2835 |
|
# Check whether --enable-dependency-tracking was given. |
| 2836 |
|
if test "${enable_dependency_tracking+set}" = set; then : |
| 12637 |
|
fi |
| 12638 |
|
|
| 12639 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 12640 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
| 12641 |
< |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
| 12640 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 1.0.1d and above" >&5 |
| 12641 |
> |
$as_echo_n "checking for LibreSSL or OpenSSL 1.0.1d and above... " >&6; } |
| 12642 |
|
if test "$cross_compiling" = yes; then : |
| 12643 |
|
cf_openssl_version_ok=no |
| 12644 |
|
else |
| 12651 |
|
int |
| 12652 |
|
main () |
| 12653 |
|
{ |
| 12654 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 12654 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1000104fL)); |
| 12655 |
|
; |
| 12656 |
|
return 0; |
| 12657 |
|
} |
| 12770 |
|
fi |
| 12771 |
|
fi |
| 12772 |
|
|
| 12772 |
– |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 12773 |
– |
ENABLE_SSL_TRUE= |
| 12774 |
– |
ENABLE_SSL_FALSE='#' |
| 12775 |
– |
else |
| 12776 |
– |
ENABLE_SSL_TRUE='#' |
| 12777 |
– |
ENABLE_SSL_FALSE= |
| 12778 |
– |
fi |
| 12779 |
– |
|
| 12780 |
– |
|
| 12773 |
|
|
| 12774 |
|
# Check whether --enable-assert was given. |
| 12775 |
|
if test "${enable_assert+set}" = set; then : |
| 13175 |
|
|
| 13176 |
|
|
| 13177 |
|
|
| 13178 |
+ |
for flag in -Wduplicated-cond; do |
| 13179 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13180 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13181 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13182 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13183 |
+ |
$as_echo_n "(cached) " >&6 |
| 13184 |
+ |
else |
| 13185 |
+ |
|
| 13186 |
+ |
ax_check_save_flags=$CFLAGS |
| 13187 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13188 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13189 |
+ |
/* end confdefs.h. */ |
| 13190 |
+ |
|
| 13191 |
+ |
int |
| 13192 |
+ |
main () |
| 13193 |
+ |
{ |
| 13194 |
+ |
|
| 13195 |
+ |
; |
| 13196 |
+ |
return 0; |
| 13197 |
+ |
} |
| 13198 |
+ |
_ACEOF |
| 13199 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13200 |
+ |
eval "$as_CACHEVAR=yes" |
| 13201 |
+ |
else |
| 13202 |
+ |
eval "$as_CACHEVAR=no" |
| 13203 |
+ |
fi |
| 13204 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13205 |
+ |
CFLAGS=$ax_check_save_flags |
| 13206 |
+ |
fi |
| 13207 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13208 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13209 |
+ |
$as_echo "$ac_res" >&6; } |
| 13210 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13211 |
+ |
|
| 13212 |
+ |
if ${CFLAGS+:} false; then : |
| 13213 |
+ |
|
| 13214 |
+ |
case " $CFLAGS " in #( |
| 13215 |
+ |
*" $flag "*) : |
| 13216 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13217 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13218 |
+ |
ac_status=$? |
| 13219 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13220 |
+ |
test $ac_status = 0; } ;; #( |
| 13221 |
+ |
*) : |
| 13222 |
+ |
|
| 13223 |
+ |
as_fn_append CFLAGS " $flag" |
| 13224 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13225 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13226 |
+ |
ac_status=$? |
| 13227 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13228 |
+ |
test $ac_status = 0; } |
| 13229 |
+ |
;; |
| 13230 |
+ |
esac |
| 13231 |
+ |
|
| 13232 |
+ |
else |
| 13233 |
+ |
|
| 13234 |
+ |
CFLAGS=$flag |
| 13235 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13236 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13237 |
+ |
ac_status=$? |
| 13238 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13239 |
+ |
test $ac_status = 0; } |
| 13240 |
+ |
|
| 13241 |
+ |
fi |
| 13242 |
+ |
|
| 13243 |
+ |
else |
| 13244 |
+ |
: |
| 13245 |
+ |
fi |
| 13246 |
+ |
|
| 13247 |
+ |
done |
| 13248 |
+ |
|
| 13249 |
+ |
|
| 13250 |
+ |
|
| 13251 |
+ |
|
| 13252 |
+ |
|
| 13253 |
|
for flag in -Wempty-body; do |
| 13254 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13255 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14300 |
|
|
| 14301 |
|
|
| 14302 |
|
|
| 14303 |
< |
for flag in -Wsign-compare; do |
| 14303 |
> |
for flag in -Wshift-negative-value; do |
| 14304 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14305 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14306 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14375 |
|
|
| 14376 |
|
|
| 14377 |
|
|
| 14378 |
< |
for flag in -Wtype-limits; do |
| 14378 |
> |
for flag in -Wsign-compare; do |
| 14379 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14380 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14381 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14450 |
|
|
| 14451 |
|
|
| 14452 |
|
|
| 14453 |
< |
for flag in -Wundef; do |
| 14453 |
> |
for flag in -Wtype-limits; do |
| 14454 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14455 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14456 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14525 |
|
|
| 14526 |
|
|
| 14527 |
|
|
| 14528 |
< |
for flag in -Wuninitialized; do |
| 14528 |
> |
for flag in -Wundef; do |
| 14529 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14531 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14600 |
|
|
| 14601 |
|
|
| 14602 |
|
|
| 14603 |
< |
for flag in -Wwrite-strings; do |
| 14603 |
> |
for flag in -Wuninitialized; do |
| 14604 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14605 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14606 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14672 |
|
done |
| 14673 |
|
|
| 14674 |
|
|
| 14608 |
– |
fi |
| 14675 |
|
|
| 14676 |
|
|
| 14611 |
– |
for ac_func in strlcpy strlcat |
| 14612 |
– |
do : |
| 14613 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14614 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14615 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14616 |
– |
cat >>confdefs.h <<_ACEOF |
| 14617 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14618 |
– |
_ACEOF |
| 14677 |
|
|
| 14678 |
< |
fi |
| 14679 |
< |
done |
| 14680 |
< |
|
| 14681 |
< |
|
| 14682 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 14625 |
< |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 14626 |
< |
if ${ac_cv_c_bigendian+:} false; then : |
| 14678 |
> |
for flag in -Wwrite-strings; do |
| 14679 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14680 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14681 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14682 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14683 |
|
$as_echo_n "(cached) " >&6 |
| 14684 |
|
else |
| 14629 |
– |
ac_cv_c_bigendian=unknown |
| 14630 |
– |
# See if we're dealing with a universal compiler. |
| 14631 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14632 |
– |
/* end confdefs.h. */ |
| 14633 |
– |
#ifndef __APPLE_CC__ |
| 14634 |
– |
not a universal capable compiler |
| 14635 |
– |
#endif |
| 14636 |
– |
typedef int dummy; |
| 14637 |
– |
|
| 14638 |
– |
_ACEOF |
| 14639 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14640 |
– |
|
| 14641 |
– |
# Check for potential -arch flags. It is not universal unless |
| 14642 |
– |
# there are at least two -arch flags with different values. |
| 14643 |
– |
ac_arch= |
| 14644 |
– |
ac_prev= |
| 14645 |
– |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
| 14646 |
– |
if test -n "$ac_prev"; then |
| 14647 |
– |
case $ac_word in |
| 14648 |
– |
i?86 | x86_64 | ppc | ppc64) |
| 14649 |
– |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
| 14650 |
– |
ac_arch=$ac_word |
| 14651 |
– |
else |
| 14652 |
– |
ac_cv_c_bigendian=universal |
| 14653 |
– |
break |
| 14654 |
– |
fi |
| 14655 |
– |
;; |
| 14656 |
– |
esac |
| 14657 |
– |
ac_prev= |
| 14658 |
– |
elif test "x$ac_word" = "x-arch"; then |
| 14659 |
– |
ac_prev=arch |
| 14660 |
– |
fi |
| 14661 |
– |
done |
| 14662 |
– |
fi |
| 14663 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14664 |
– |
if test $ac_cv_c_bigendian = unknown; then |
| 14665 |
– |
# See if sys/param.h defines the BYTE_ORDER macro. |
| 14666 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14667 |
– |
/* end confdefs.h. */ |
| 14668 |
– |
#include <sys/types.h> |
| 14669 |
– |
#include <sys/param.h> |
| 14670 |
– |
|
| 14671 |
– |
int |
| 14672 |
– |
main () |
| 14673 |
– |
{ |
| 14674 |
– |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
| 14675 |
– |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
| 14676 |
– |
&& LITTLE_ENDIAN) |
| 14677 |
– |
bogus endian macros |
| 14678 |
– |
#endif |
| 14685 |
|
|
| 14686 |
< |
; |
| 14687 |
< |
return 0; |
| 14688 |
< |
} |
| 14683 |
< |
_ACEOF |
| 14684 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14685 |
< |
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 14686 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14686 |
> |
ax_check_save_flags=$CFLAGS |
| 14687 |
> |
CFLAGS="$CFLAGS $flag" |
| 14688 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14689 |
|
/* end confdefs.h. */ |
| 14688 |
– |
#include <sys/types.h> |
| 14689 |
– |
#include <sys/param.h> |
| 14690 |
|
|
| 14691 |
|
int |
| 14692 |
|
main () |
| 14693 |
|
{ |
| 14694 |
– |
#if BYTE_ORDER != BIG_ENDIAN |
| 14695 |
– |
not big endian |
| 14696 |
– |
#endif |
| 14694 |
|
|
| 14695 |
|
; |
| 14696 |
|
return 0; |
| 14697 |
|
} |
| 14698 |
|
_ACEOF |
| 14699 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14700 |
< |
ac_cv_c_bigendian=yes |
| 14700 |
> |
eval "$as_CACHEVAR=yes" |
| 14701 |
|
else |
| 14702 |
< |
ac_cv_c_bigendian=no |
| 14702 |
> |
eval "$as_CACHEVAR=no" |
| 14703 |
|
fi |
| 14704 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14705 |
+ |
CFLAGS=$ax_check_save_flags |
| 14706 |
|
fi |
| 14707 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14708 |
< |
fi |
| 14709 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14710 |
< |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 14713 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14714 |
< |
/* end confdefs.h. */ |
| 14715 |
< |
#include <limits.h> |
| 14707 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14708 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14709 |
> |
$as_echo "$ac_res" >&6; } |
| 14710 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14711 |
|
|
| 14712 |
< |
int |
| 14718 |
< |
main () |
| 14719 |
< |
{ |
| 14720 |
< |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| 14721 |
< |
bogus endian macros |
| 14722 |
< |
#endif |
| 14712 |
> |
if ${CFLAGS+:} false; then : |
| 14713 |
|
|
| 14714 |
< |
; |
| 14715 |
< |
return 0; |
| 14716 |
< |
} |
| 14717 |
< |
_ACEOF |
| 14718 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14719 |
< |
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 14720 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14721 |
< |
/* end confdefs.h. */ |
| 14732 |
< |
#include <limits.h> |
| 14714 |
> |
case " $CFLAGS " in #( |
| 14715 |
> |
*" $flag "*) : |
| 14716 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14717 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14718 |
> |
ac_status=$? |
| 14719 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14720 |
> |
test $ac_status = 0; } ;; #( |
| 14721 |
> |
*) : |
| 14722 |
|
|
| 14723 |
< |
int |
| 14724 |
< |
main () |
| 14725 |
< |
{ |
| 14726 |
< |
#ifndef _BIG_ENDIAN |
| 14727 |
< |
not big endian |
| 14728 |
< |
#endif |
| 14723 |
> |
as_fn_append CFLAGS " $flag" |
| 14724 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14725 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14726 |
> |
ac_status=$? |
| 14727 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14728 |
> |
test $ac_status = 0; } |
| 14729 |
> |
;; |
| 14730 |
> |
esac |
| 14731 |
|
|
| 14741 |
– |
; |
| 14742 |
– |
return 0; |
| 14743 |
– |
} |
| 14744 |
– |
_ACEOF |
| 14745 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14746 |
– |
ac_cv_c_bigendian=yes |
| 14732 |
|
else |
| 14733 |
< |
ac_cv_c_bigendian=no |
| 14733 |
> |
|
| 14734 |
> |
CFLAGS=$flag |
| 14735 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14736 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14737 |
> |
ac_status=$? |
| 14738 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14739 |
> |
test $ac_status = 0; } |
| 14740 |
> |
|
| 14741 |
|
fi |
| 14742 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14742 |
> |
|
| 14743 |
> |
else |
| 14744 |
> |
: |
| 14745 |
|
fi |
| 14752 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14753 |
– |
fi |
| 14754 |
– |
if test $ac_cv_c_bigendian = unknown; then |
| 14755 |
– |
# Compile a test program. |
| 14756 |
– |
if test "$cross_compiling" = yes; then : |
| 14757 |
– |
# Try to guess by grepping values from an object file. |
| 14758 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14759 |
– |
/* end confdefs.h. */ |
| 14760 |
– |
short int ascii_mm[] = |
| 14761 |
– |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 14762 |
– |
short int ascii_ii[] = |
| 14763 |
– |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 14764 |
– |
int use_ascii (int i) { |
| 14765 |
– |
return ascii_mm[i] + ascii_ii[i]; |
| 14766 |
– |
} |
| 14767 |
– |
short int ebcdic_ii[] = |
| 14768 |
– |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 14769 |
– |
short int ebcdic_mm[] = |
| 14770 |
– |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 14771 |
– |
int use_ebcdic (int i) { |
| 14772 |
– |
return ebcdic_mm[i] + ebcdic_ii[i]; |
| 14773 |
– |
} |
| 14774 |
– |
extern int foo; |
| 14746 |
|
|
| 14747 |
< |
int |
| 14748 |
< |
main () |
| 14749 |
< |
{ |
| 14779 |
< |
return use_ascii (foo) == use_ebcdic (foo); |
| 14780 |
< |
; |
| 14781 |
< |
return 0; |
| 14782 |
< |
} |
| 14783 |
< |
_ACEOF |
| 14784 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14785 |
< |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| 14786 |
< |
ac_cv_c_bigendian=yes |
| 14787 |
< |
fi |
| 14788 |
< |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| 14789 |
< |
if test "$ac_cv_c_bigendian" = unknown; then |
| 14790 |
< |
ac_cv_c_bigendian=no |
| 14791 |
< |
else |
| 14792 |
< |
# finding both strings is unlikely to happen, but who knows? |
| 14793 |
< |
ac_cv_c_bigendian=unknown |
| 14794 |
< |
fi |
| 14795 |
< |
fi |
| 14747 |
> |
done |
| 14748 |
> |
|
| 14749 |
> |
|
| 14750 |
|
fi |
| 14751 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14751 |
> |
|
| 14752 |
> |
|
| 14753 |
> |
# Check whether --enable-efence was given. |
| 14754 |
> |
if test "${enable_efence+set}" = set; then : |
| 14755 |
> |
enableval=$enable_efence; efence="$enableval" |
| 14756 |
|
else |
| 14757 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14757 |
> |
efence="no" |
| 14758 |
> |
fi |
| 14759 |
> |
|
| 14760 |
> |
|
| 14761 |
> |
if test "$efence" = "yes"; then : |
| 14762 |
> |
|
| 14763 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 14764 |
> |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 14765 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14766 |
> |
$as_echo_n "(cached) " >&6 |
| 14767 |
> |
else |
| 14768 |
> |
ac_func_search_save_LIBS=$LIBS |
| 14769 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14770 |
|
/* end confdefs.h. */ |
| 14771 |
< |
$ac_includes_default |
| 14771 |
> |
|
| 14772 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 14773 |
> |
Use char because int might match the return type of a GCC |
| 14774 |
> |
builtin and then its argument prototype would still apply. */ |
| 14775 |
> |
#ifdef __cplusplus |
| 14776 |
> |
extern "C" |
| 14777 |
> |
#endif |
| 14778 |
> |
char EF_Print (); |
| 14779 |
|
int |
| 14780 |
|
main () |
| 14781 |
|
{ |
| 14782 |
< |
|
| 14806 |
< |
/* Are we little or big endian? From Harbison&Steele. */ |
| 14807 |
< |
union |
| 14808 |
< |
{ |
| 14809 |
< |
long int l; |
| 14810 |
< |
char c[sizeof (long int)]; |
| 14811 |
< |
} u; |
| 14812 |
< |
u.l = 1; |
| 14813 |
< |
return u.c[sizeof (long int) - 1] == 1; |
| 14814 |
< |
|
| 14782 |
> |
return EF_Print (); |
| 14783 |
|
; |
| 14784 |
|
return 0; |
| 14785 |
|
} |
| 14786 |
|
_ACEOF |
| 14787 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14788 |
< |
ac_cv_c_bigendian=no |
| 14787 |
> |
for ac_lib in '' efence; do |
| 14788 |
> |
if test -z "$ac_lib"; then |
| 14789 |
> |
ac_res="none required" |
| 14790 |
> |
else |
| 14791 |
> |
ac_res=-l$ac_lib |
| 14792 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14793 |
> |
fi |
| 14794 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14795 |
> |
ac_cv_search_EF_Print=$ac_res |
| 14796 |
> |
fi |
| 14797 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14798 |
> |
conftest$ac_exeext |
| 14799 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14800 |
> |
break |
| 14801 |
> |
fi |
| 14802 |
> |
done |
| 14803 |
> |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14804 |
> |
|
| 14805 |
|
else |
| 14806 |
< |
ac_cv_c_bigendian=yes |
| 14806 |
> |
ac_cv_search_EF_Print=no |
| 14807 |
|
fi |
| 14808 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14809 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14808 |
> |
rm conftest.$ac_ext |
| 14809 |
> |
LIBS=$ac_func_search_save_LIBS |
| 14810 |
|
fi |
| 14811 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 14812 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 14813 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 14814 |
+ |
if test "$ac_res" != no; then : |
| 14815 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14816 |
|
|
| 14817 |
< |
fi |
| 14817 |
> |
else |
| 14818 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14819 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14820 |
> |
as_fn_error $? "Electric Fence 'efence' library not found |
| 14821 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 14822 |
|
fi |
| 14830 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 14831 |
– |
$as_echo "$ac_cv_c_bigendian" >&6; } |
| 14832 |
– |
case $ac_cv_c_bigendian in #( |
| 14833 |
– |
yes) |
| 14834 |
– |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 14835 |
– |
;; #( |
| 14836 |
– |
no) |
| 14837 |
– |
;; #( |
| 14838 |
– |
universal) |
| 14823 |
|
|
| 14840 |
– |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 14824 |
|
|
| 14825 |
< |
;; #( |
| 14826 |
< |
*) |
| 14827 |
< |
as_fn_error $? "unknown endianness |
| 14828 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 14829 |
< |
esac |
| 14825 |
> |
fi |
| 14826 |
> |
|
| 14827 |
> |
|
| 14828 |
> |
for ac_func in strlcpy strlcat |
| 14829 |
> |
do : |
| 14830 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14831 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14832 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14833 |
> |
cat >>confdefs.h <<_ACEOF |
| 14834 |
> |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14835 |
> |
_ACEOF |
| 14836 |
> |
|
| 14837 |
> |
fi |
| 14838 |
> |
done |
| 14839 |
|
|
| 14840 |
|
|
| 14841 |
|
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile" |
| 14977 |
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 14978 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14979 |
|
fi |
| 14988 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14989 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14990 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14991 |
– |
fi |
| 14992 |
– |
|
| 14980 |
|
|
| 14981 |
|
: "${CONFIG_STATUS=./config.status}" |
| 14982 |
|
ac_write_fail=0 |
| 15374 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15375 |
|
# values after options handling. |
| 15376 |
|
ac_log=" |
| 15377 |
< |
This file was extended by hopm $as_me TRUNK, which was |
| 15377 |
> |
This file was extended by hopm $as_me 1.1.6, which was |
| 15378 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15379 |
|
|
| 15380 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15440 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15441 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15442 |
|
ac_cs_version="\\ |
| 15443 |
< |
hopm config.status TRUNK |
| 15443 |
> |
hopm config.status 1.1.6 |
| 15444 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15445 |
|
with options \\"\$ac_cs_config\\" |
| 15446 |
|
|
| 15559 |
|
# |
| 15560 |
|
# INIT-COMMANDS |
| 15561 |
|
# |
| 15562 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 15562 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 15563 |
|
|
| 15564 |
|
|
| 15565 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 16459 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16460 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16461 |
|
# if we detect the quoting. |
| 16462 |
< |
case $CONFIG_FILES in |
| 16463 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 16464 |
< |
*) set x $CONFIG_FILES ;; |
| 16465 |
< |
esac |
| 16462 |
> |
# TODO: see whether this extra hack can be removed once we start |
| 16463 |
> |
# requiring Autoconf 2.70 or later. |
| 16464 |
> |
case $CONFIG_FILES in #( |
| 16465 |
> |
*\'*) : |
| 16466 |
> |
eval set x "$CONFIG_FILES" ;; #( |
| 16467 |
> |
*) : |
| 16468 |
> |
set x $CONFIG_FILES ;; #( |
| 16469 |
> |
*) : |
| 16470 |
> |
;; |
| 16471 |
> |
esac |
| 16472 |
|
shift |
| 16473 |
< |
for mf |
| 16473 |
> |
# Used to flag and report bootstrapping failures. |
| 16474 |
> |
am_rc=0 |
| 16475 |
> |
for am_mf |
| 16476 |
|
do |
| 16477 |
|
# Strip MF so we end up with the name of the file. |
| 16478 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 16479 |
< |
# Check whether this is an Automake generated Makefile or not. |
| 16480 |
< |
# We used to match only the files named 'Makefile.in', but |
| 16481 |
< |
# some people rename them; so instead we look at the file content. |
| 16487 |
< |
# Grep'ing the first line is not enough: some people post-process |
| 16488 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
| 16489 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 16478 |
> |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
| 16479 |
> |
# Check whether this is an Automake generated Makefile which includes |
| 16480 |
> |
# dependency-tracking related rules and includes. |
| 16481 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 16482 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
| 16483 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 16484 |
< |
dirpart=`$as_dirname -- "$mf" || |
| 16485 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16486 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 16487 |
< |
X"$mf" : 'X\(//\)$' \| \ |
| 16488 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16489 |
< |
$as_echo X"$mf" | |
| 16483 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 16484 |
> |
|| continue |
| 16485 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 16486 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16487 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 16488 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 16489 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16490 |
> |
$as_echo X"$am_mf" | |
| 16491 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16492 |
|
s//\1/ |
| 16493 |
|
q |
| 16505 |
|
q |
| 16506 |
|
} |
| 16507 |
|
s/.*/./; q'` |
| 16508 |
< |
else |
| 16509 |
< |
continue |
| 16510 |
< |
fi |
| 16511 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 16512 |
< |
# from the Makefile without running 'make'. |
| 16513 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16521 |
< |
test -z "$DEPDIR" && continue |
| 16522 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16523 |
< |
test -z "$am__include" && continue |
| 16524 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16525 |
< |
# Find all dependency output files, they are included files with |
| 16526 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 16527 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 16528 |
< |
# expansion. |
| 16529 |
< |
for file in `sed -n " |
| 16530 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 16531 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 16532 |
< |
# Make sure the directory exists. |
| 16533 |
< |
test -f "$dirpart/$file" && continue |
| 16534 |
< |
fdir=`$as_dirname -- "$file" || |
| 16535 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16536 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
| 16537 |
< |
X"$file" : 'X\(//\)$' \| \ |
| 16538 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 16539 |
< |
$as_echo X"$file" | |
| 16540 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16541 |
< |
s//\1/ |
| 16542 |
< |
q |
| 16543 |
< |
} |
| 16544 |
< |
/^X\(\/\/\)[^/].*/{ |
| 16508 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
| 16509 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 16510 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 16511 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 16512 |
> |
$as_echo X/"$am_mf" | |
| 16513 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 16514 |
|
s//\1/ |
| 16515 |
|
q |
| 16516 |
|
} |
| 16517 |
< |
/^X\(\/\/\)$/{ |
| 16517 |
> |
/^X\/\(\/\/\)$/{ |
| 16518 |
|
s//\1/ |
| 16519 |
|
q |
| 16520 |
|
} |
| 16521 |
< |
/^X\(\/\).*/{ |
| 16521 |
> |
/^X\/\(\/\).*/{ |
| 16522 |
|
s//\1/ |
| 16523 |
|
q |
| 16524 |
|
} |
| 16525 |
|
s/.*/./; q'` |
| 16526 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 16527 |
< |
# echo "creating $dirpart/$file" |
| 16528 |
< |
echo '# dummy' > "$dirpart/$file" |
| 16529 |
< |
done |
| 16526 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 16527 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 16528 |
> |
| $MAKE -f - am--depfiles" >&5 |
| 16529 |
> |
(cd "$am_dirpart" \ |
| 16530 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 16531 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 16532 |
> |
ac_status=$? |
| 16533 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16534 |
> |
(exit $ac_status); } || am_rc=$? |
| 16535 |
|
done |
| 16536 |
+ |
if test $am_rc -ne 0; then |
| 16537 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 16538 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 16539 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 16540 |
+ |
for automatic dependency tracking. Try re-running configure with the |
| 16541 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
| 16542 |
+ |
the package (albeit without support for automatic dependency tracking). |
| 16543 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 16544 |
+ |
fi |
| 16545 |
+ |
{ am_dirpart=; unset am_dirpart;} |
| 16546 |
+ |
{ am_filepart=; unset am_filepart;} |
| 16547 |
+ |
{ am_mf=; unset am_mf;} |
| 16548 |
+ |
{ am_rc=; unset am_rc;} |
| 16549 |
+ |
rm -f conftest-deps.mk |
| 16550 |
|
} |
| 16551 |
|
;; |
| 16552 |
|
"libtool":C) |