version 1.63.2.1, 2022/10/24 00:11:45
|
version 1.69.2.4, 2024/10/10 23:53:00
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.69 for libelwix 5.7. | # Generated by GNU Autoconf 2.69 for libelwix 6.1. |
# |
# |
# Report bugs to <misho@elwix.org>. |
# Report bugs to <misho@elwix.org>. |
# |
# |
Line 580 MAKEFLAGS=
|
Line 580 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='libelwix' |
PACKAGE_NAME='libelwix' |
PACKAGE_TARNAME='libelwix' |
PACKAGE_TARNAME='libelwix' |
PACKAGE_VERSION='5.7' | PACKAGE_VERSION='6.1' |
PACKAGE_STRING='libelwix 5.7' | PACKAGE_STRING='libelwix 6.1' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_BUGREPORT='misho@elwix.org' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 623 ac_includes_default="\
|
Line 623 ac_includes_default="\
|
#endif" |
#endif" |
|
|
ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
|
DEBIAN_ARCH |
LIBOBJS |
LIBOBJS |
EGREP |
EGREP |
GREP |
GREP |
Line 695 ac_user_opts='
|
Line 696 ac_user_opts='
|
enable_option_checking |
enable_option_checking |
enable_debug |
enable_debug |
with_memmgr |
with_memmgr |
|
enable_mpool_mem_zero |
|
enable_patricia |
|
enable_pelco |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 1255 if test "$ac_init_help" = "long"; then
|
Line 1259 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures libelwix 5.7 to adapt to many kinds of systems. | \`configure' configures libelwix 6.1 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1322 fi
|
Line 1326 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of libelwix 5.7:";; | short | recursive ) echo "Configuration of libelwix 6.1:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1331 Optional Features:
|
Line 1335 Optional Features:
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-debug Build library with debug information and additional messages |
--enable-debug Build library with debug information and additional messages |
|
--enable-mpool-mem-zero MPool zeroing allocated memory |
|
--enable-patricia Patricia support for ELWIX |
|
--enable-pelco Pelco support for ELWIX |
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
Line 1413 fi
|
Line 1420 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
libelwix configure 5.7 | libelwix configure 6.1 |
generated by GNU Autoconf 2.69 |
generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2012 Free Software Foundation, Inc. |
Copyright (C) 2012 Free Software Foundation, Inc. |
Line 1782 cat >config.log <<_ACEOF
|
Line 1789 cat >config.log <<_ACEOF
|
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by libelwix $as_me 5.7, which was | It was created by libelwix $as_me 6.1, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 3347 fi
|
Line 3354 fi
|
|
|
|
|
|
|
CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" | if test "${ac_cv_env_CFLAGS_set}" != "set"; then |
LDFLAGS="${LDFLAGS}" | CFLAGS="-Wall -O2" |
| else |
| CFLAGS="${ac_cv_env_CFLAGS_value}" |
| fi |
| if test "${ac_cv_env_LDFLAGS_set}" = "set"; then |
| LDFLAGS="${ac_cv_env_LDFLAGS_value}" |
| fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 |
Line 3396 _ACEOF
|
Line 3409 _ACEOF
|
|
|
fi |
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
|
$as_echo_n "checking for strlcpy in -lbsd... " >&6; } |
|
if ${ac_cv_lib_bsd_strlcpy+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lbsd $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char strlcpy (); |
|
int |
|
main () |
|
{ |
|
return strlcpy (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_bsd_strlcpy=yes |
|
else |
|
ac_cv_lib_bsd_strlcpy=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_strlcpy" >&5 |
|
$as_echo "$ac_cv_lib_bsd_strlcpy" >&6; } |
|
if test "x$ac_cv_lib_bsd_strlcpy" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBBSD 1 |
|
_ACEOF |
|
|
|
LIBS="-lbsd $LIBS" |
|
|
|
fi |
|
|
|
|
|
# Checks for header files. |
# Checks for header files. |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
Line 3853 fi
|
Line 3821 fi
|
|
|
done |
done |
|
|
for ac_header in bsd/string.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_bsd_string_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_BSD_STRING_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
$as_echo_n "checking for inline... " >&6; } |
$as_echo_n "checking for inline... " >&6; } |
Line 4045 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
Line 4001 $as_echo "#define realloc rpl_realloc" >>confdefs.h
|
fi |
fi |
|
|
|
|
for ac_func in memset regcomp strchr strerror link_addr strlcpy | for ac_func in memset regcomp strchr strerror link_addr strlcpy strlcat |
do : |
do : |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
Line 4108 fi
|
Line 4064 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5 |
$as_echo "$MEMMGR" >&6; } |
$as_echo "$MEMMGR" >&6; } |
|
|
ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" | MPOOL_MEM_ZERO=no |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking MPoll zeroing allocated memory" >&5 |
| $as_echo_n "checking MPoll zeroing allocated memory... " >&6; } |
| # Check whether --enable-mpool-mem-zero was given. |
| if test "${enable_mpool_mem_zero+set}" = set; then : |
| enableval=$enable_mpool_mem_zero; case "$enableval" in |
| yes) |
|
|
|
$as_echo "#define MPOOL_MEM_ZERO /**/" >>confdefs.h |
|
|
|
MPOOL_MEM_ZERO=yes |
|
;; |
|
*) |
|
MPOOL_MEM_ZERO=no |
|
;; |
|
esac |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPOOL_MEM_ZERO" >&5 |
|
$as_echo "$MPOOL_MEM_ZERO" >&6; } |
|
|
|
PATRICIA=no |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Patricia support" >&5 |
|
$as_echo_n "checking Patricia support... " >&6; } |
|
# Check whether --enable-patricia was given. |
|
if test "${enable_patricia+set}" = set; then : |
|
enableval=$enable_patricia; case "$enableval" in |
|
yes) |
|
|
|
$as_echo "#define PATRICIA_SUPPORT /**/" >>confdefs.h |
|
|
|
PATRICIA=yes |
|
;; |
|
*) |
|
;; |
|
esac |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATRICIA" >&5 |
|
$as_echo "$PATRICIA" >&6; } |
|
|
|
PELCO=no |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Pelco support" >&5 |
|
$as_echo_n "checking Pelco support... " >&6; } |
|
# Check whether --enable-pelco was given. |
|
if test "${enable_pelco+set}" = set; then : |
|
enableval=$enable_pelco; case "$enableval" in |
|
yes) |
|
|
|
$as_echo "#define PELCO_SUPPORT /**/" >>confdefs.h |
|
|
|
PELCO=yes |
|
;; |
|
*) |
|
;; |
|
esac |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PELCO" >&5 |
|
$as_echo "$PELCO" >&6; } |
|
|
|
DEBIAN_ARCH=$target_cpu |
|
if test "x$target_cpu" = "xarm6l" -o "x$target_cpu" = "xarm7l" ; then : |
|
DEBIAN_ARCH="armhf" |
|
fi |
|
if test "x$target_cpu" = "xaarch64" ; then : |
|
DEBIAN_ARCH="arm64" |
|
fi |
|
if test "x$target_cpu" = "xi686" ; then : |
|
DEBIAN_ARCH="i386" |
|
fi |
|
if test "x$target_cpu" = "xx86_64" ; then : |
|
DEBIAN_ARCH="amd64" |
|
fi |
|
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile debian/Makefile debian/control src/Makefile" |
|
|
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
Line 4616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 4649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by libelwix $as_me 5.7, which was | This file was extended by libelwix $as_me 6.1, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 4678 _ACEOF
|
Line 4711 _ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
libelwix config.status 5.7 | libelwix config.status 6.1 |
configured by $0, generated by GNU Autoconf 2.69, |
configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Line 4804 do
|
Line 4837 do
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; |
"inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
|
"debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; |
|
"debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |