| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 8147 2017-04-05 12:37:06Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8549 2018-09-22 20:55:30Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm 1.1.4. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.1.5. |
| 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='1.1.4' |
| 595 |
< |
PACKAGE_STRING='hopm 1.1.4' |
| 594 |
> |
PACKAGE_VERSION='1.1.5' |
| 595 |
> |
PACKAGE_STRING='hopm 1.1.5' |
| 596 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 778 |
|
enable_openssl |
| 779 |
|
enable_assert |
| 780 |
|
enable_warnings |
| 781 |
+ |
enable_efence |
| 782 |
|
' |
| 783 |
|
ac_precious_vars='build_alias |
| 784 |
|
host_alias |
| 1332 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1333 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1334 |
|
cat <<_ACEOF |
| 1335 |
< |
\`configure' configures hopm 1.1.4 to adapt to many kinds of systems. |
| 1335 |
> |
\`configure' configures hopm 1.1.5 to adapt to many kinds of systems. |
| 1336 |
|
|
| 1337 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1338 |
|
|
| 1402 |
|
|
| 1403 |
|
if test -n "$ac_init_help"; then |
| 1404 |
|
case $ac_init_help in |
| 1405 |
< |
short | recursive ) echo "Configuration of hopm 1.1.4:";; |
| 1405 |
> |
short | recursive ) echo "Configuration of hopm 1.1.5:";; |
| 1406 |
|
esac |
| 1407 |
|
cat <<\_ACEOF |
| 1408 |
|
|
| 1428 |
|
--disable-openssl Disable LibreSSL/OpenSSL support. |
| 1429 |
|
--enable-assert Enable assert() statements |
| 1430 |
|
--enable-warnings Enable compiler warnings. |
| 1431 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1432 |
+ |
debugger library. |
| 1433 |
|
|
| 1434 |
|
Optional Packages: |
| 1435 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1527 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1528 |
|
if $ac_init_version; then |
| 1529 |
|
cat <<\_ACEOF |
| 1530 |
< |
hopm configure 1.1.4 |
| 1530 |
> |
hopm configure 1.1.5 |
| 1531 |
|
generated by GNU Autoconf 2.69 |
| 1532 |
|
|
| 1533 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1805 |
|
This file contains any messages produced by compilers while |
| 1806 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1807 |
|
|
| 1808 |
< |
It was created by hopm $as_me 1.1.4, which was |
| 1808 |
> |
It was created by hopm $as_me 1.1.5, which was |
| 1809 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1810 |
|
|
| 1811 |
|
$ $0 $@ |
| 2668 |
|
|
| 2669 |
|
# Define the identity of the package. |
| 2670 |
|
PACKAGE='hopm' |
| 2671 |
< |
VERSION='1.1.4' |
| 2671 |
> |
VERSION='1.1.5' |
| 2672 |
|
|
| 2673 |
|
|
| 2674 |
|
cat >>confdefs.h <<_ACEOF |
| 13186 |
|
|
| 13187 |
|
|
| 13188 |
|
|
| 13189 |
+ |
for flag in -Wduplicated-cond; do |
| 13190 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13191 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13192 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13193 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 13194 |
+ |
$as_echo_n "(cached) " >&6 |
| 13195 |
+ |
else |
| 13196 |
+ |
|
| 13197 |
+ |
ax_check_save_flags=$CFLAGS |
| 13198 |
+ |
CFLAGS="$CFLAGS $flag" |
| 13199 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13200 |
+ |
/* end confdefs.h. */ |
| 13201 |
+ |
|
| 13202 |
+ |
int |
| 13203 |
+ |
main () |
| 13204 |
+ |
{ |
| 13205 |
+ |
|
| 13206 |
+ |
; |
| 13207 |
+ |
return 0; |
| 13208 |
+ |
} |
| 13209 |
+ |
_ACEOF |
| 13210 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13211 |
+ |
eval "$as_CACHEVAR=yes" |
| 13212 |
+ |
else |
| 13213 |
+ |
eval "$as_CACHEVAR=no" |
| 13214 |
+ |
fi |
| 13215 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13216 |
+ |
CFLAGS=$ax_check_save_flags |
| 13217 |
+ |
fi |
| 13218 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 13219 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13220 |
+ |
$as_echo "$ac_res" >&6; } |
| 13221 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13222 |
+ |
|
| 13223 |
+ |
if ${CFLAGS+:} false; then : |
| 13224 |
+ |
|
| 13225 |
+ |
case " $CFLAGS " in #( |
| 13226 |
+ |
*" $flag "*) : |
| 13227 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13228 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 13229 |
+ |
ac_status=$? |
| 13230 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13231 |
+ |
test $ac_status = 0; } ;; #( |
| 13232 |
+ |
*) : |
| 13233 |
+ |
|
| 13234 |
+ |
as_fn_append 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 |
+ |
esac |
| 13242 |
+ |
|
| 13243 |
+ |
else |
| 13244 |
+ |
|
| 13245 |
+ |
CFLAGS=$flag |
| 13246 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13247 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13248 |
+ |
ac_status=$? |
| 13249 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13250 |
+ |
test $ac_status = 0; } |
| 13251 |
+ |
|
| 13252 |
+ |
fi |
| 13253 |
+ |
|
| 13254 |
+ |
else |
| 13255 |
+ |
: |
| 13256 |
+ |
fi |
| 13257 |
+ |
|
| 13258 |
+ |
done |
| 13259 |
+ |
|
| 13260 |
+ |
|
| 13261 |
+ |
|
| 13262 |
+ |
|
| 13263 |
+ |
|
| 13264 |
|
for flag in -Wempty-body; do |
| 13265 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13266 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14311 |
|
|
| 14312 |
|
|
| 14313 |
|
|
| 14314 |
+ |
for flag in -Wshift-negative-value; do |
| 14315 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14316 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14317 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14318 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
| 14319 |
+ |
$as_echo_n "(cached) " >&6 |
| 14320 |
+ |
else |
| 14321 |
+ |
|
| 14322 |
+ |
ax_check_save_flags=$CFLAGS |
| 14323 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14324 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14325 |
+ |
/* end confdefs.h. */ |
| 14326 |
+ |
|
| 14327 |
+ |
int |
| 14328 |
+ |
main () |
| 14329 |
+ |
{ |
| 14330 |
+ |
|
| 14331 |
+ |
; |
| 14332 |
+ |
return 0; |
| 14333 |
+ |
} |
| 14334 |
+ |
_ACEOF |
| 14335 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14336 |
+ |
eval "$as_CACHEVAR=yes" |
| 14337 |
+ |
else |
| 14338 |
+ |
eval "$as_CACHEVAR=no" |
| 14339 |
+ |
fi |
| 14340 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14341 |
+ |
CFLAGS=$ax_check_save_flags |
| 14342 |
+ |
fi |
| 14343 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14344 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14345 |
+ |
$as_echo "$ac_res" >&6; } |
| 14346 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14347 |
+ |
|
| 14348 |
+ |
if ${CFLAGS+:} false; then : |
| 14349 |
+ |
|
| 14350 |
+ |
case " $CFLAGS " in #( |
| 14351 |
+ |
*" $flag "*) : |
| 14352 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14353 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14354 |
+ |
ac_status=$? |
| 14355 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14356 |
+ |
test $ac_status = 0; } ;; #( |
| 14357 |
+ |
*) : |
| 14358 |
+ |
|
| 14359 |
+ |
as_fn_append CFLAGS " $flag" |
| 14360 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14361 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14362 |
+ |
ac_status=$? |
| 14363 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14364 |
+ |
test $ac_status = 0; } |
| 14365 |
+ |
;; |
| 14366 |
+ |
esac |
| 14367 |
+ |
|
| 14368 |
+ |
else |
| 14369 |
+ |
|
| 14370 |
+ |
CFLAGS=$flag |
| 14371 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14372 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14373 |
+ |
ac_status=$? |
| 14374 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14375 |
+ |
test $ac_status = 0; } |
| 14376 |
+ |
|
| 14377 |
+ |
fi |
| 14378 |
+ |
|
| 14379 |
+ |
else |
| 14380 |
+ |
: |
| 14381 |
+ |
fi |
| 14382 |
+ |
|
| 14383 |
+ |
done |
| 14384 |
+ |
|
| 14385 |
+ |
|
| 14386 |
+ |
|
| 14387 |
+ |
|
| 14388 |
+ |
|
| 14389 |
|
for flag in -Wsign-compare; do |
| 14390 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14391 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14761 |
|
fi |
| 14762 |
|
|
| 14763 |
|
|
| 14764 |
+ |
# Check whether --enable-efence was given. |
| 14765 |
+ |
if test "${enable_efence+set}" = set; then : |
| 14766 |
+ |
enableval=$enable_efence; efence="$enableval" |
| 14767 |
+ |
else |
| 14768 |
+ |
efence="no" |
| 14769 |
+ |
fi |
| 14770 |
+ |
|
| 14771 |
+ |
|
| 14772 |
+ |
if test "$efence" = "yes"; then : |
| 14773 |
+ |
|
| 14774 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 14775 |
+ |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 14776 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14777 |
+ |
$as_echo_n "(cached) " >&6 |
| 14778 |
+ |
else |
| 14779 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 14780 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14781 |
+ |
/* end confdefs.h. */ |
| 14782 |
+ |
|
| 14783 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 14784 |
+ |
Use char because int might match the return type of a GCC |
| 14785 |
+ |
builtin and then its argument prototype would still apply. */ |
| 14786 |
+ |
#ifdef __cplusplus |
| 14787 |
+ |
extern "C" |
| 14788 |
+ |
#endif |
| 14789 |
+ |
char EF_Print (); |
| 14790 |
+ |
int |
| 14791 |
+ |
main () |
| 14792 |
+ |
{ |
| 14793 |
+ |
return EF_Print (); |
| 14794 |
+ |
; |
| 14795 |
+ |
return 0; |
| 14796 |
+ |
} |
| 14797 |
+ |
_ACEOF |
| 14798 |
+ |
for ac_lib in '' efence; do |
| 14799 |
+ |
if test -z "$ac_lib"; then |
| 14800 |
+ |
ac_res="none required" |
| 14801 |
+ |
else |
| 14802 |
+ |
ac_res=-l$ac_lib |
| 14803 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14804 |
+ |
fi |
| 14805 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 14806 |
+ |
ac_cv_search_EF_Print=$ac_res |
| 14807 |
+ |
fi |
| 14808 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 14809 |
+ |
conftest$ac_exeext |
| 14810 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14811 |
+ |
break |
| 14812 |
+ |
fi |
| 14813 |
+ |
done |
| 14814 |
+ |
if ${ac_cv_search_EF_Print+:} false; then : |
| 14815 |
+ |
|
| 14816 |
+ |
else |
| 14817 |
+ |
ac_cv_search_EF_Print=no |
| 14818 |
+ |
fi |
| 14819 |
+ |
rm conftest.$ac_ext |
| 14820 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 14821 |
+ |
fi |
| 14822 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 14823 |
+ |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 14824 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 14825 |
+ |
if test "$ac_res" != no; then : |
| 14826 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14827 |
+ |
|
| 14828 |
+ |
else |
| 14829 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14830 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14831 |
+ |
as_fn_error $? "Electric Fence 'efence' library not found |
| 14832 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 14833 |
+ |
fi |
| 14834 |
+ |
|
| 14835 |
+ |
|
| 14836 |
+ |
fi |
| 14837 |
+ |
|
| 14838 |
+ |
|
| 14839 |
|
for ac_func in strlcpy strlcat |
| 14840 |
|
do : |
| 14841 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 15389 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15390 |
|
# values after options handling. |
| 15391 |
|
ac_log=" |
| 15392 |
< |
This file was extended by hopm $as_me 1.1.4, which was |
| 15392 |
> |
This file was extended by hopm $as_me 1.1.5, which was |
| 15393 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15394 |
|
|
| 15395 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15455 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15456 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15457 |
|
ac_cs_version="\\ |
| 15458 |
< |
hopm config.status 1.1.4 |
| 15458 |
> |
hopm config.status 1.1.5 |
| 15459 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15460 |
|
with options \\"\$ac_cs_config\\" |
| 15461 |
|
|