--- libelwix/configure 2022/10/24 00:10:22 1.63 +++ libelwix/configure 2024/03/14 23:50:39 1.67.2.1 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libelwix 5.6. +# Generated by GNU Autoconf 2.71 for libelwix 5.11. # # Report bugs to . # @@ -610,8 +610,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libelwix' PACKAGE_TARNAME='libelwix' -PACKAGE_VERSION='5.6' -PACKAGE_STRING='libelwix 5.6' +PACKAGE_VERSION='5.11' +PACKAGE_STRING='libelwix 5.11' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -718,6 +718,8 @@ ac_user_opts=' enable_option_checking enable_debug with_memmgr +enable_patricia +enable_pelco ' ac_precious_vars='build_alias host_alias @@ -1275,7 +1277,7 @@ if test "$ac_init_help" = "long"; then # 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. cat <<_ACEOF -\`configure' configures libelwix 5.6 to adapt to many kinds of systems. +\`configure' configures libelwix 5.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1342,7 +1344,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libelwix 5.6:";; + short | recursive ) echo "Configuration of libelwix 5.11:";; esac cat <<\_ACEOF @@ -1351,6 +1353,8 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-debug Build library with debug information and additional messages + --enable-patricia Patricia support for ELWIX + --enable-pelco Pelco support for ELWIX Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1433,7 +1437,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libelwix configure 5.6 +libelwix configure 5.11 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1694,7 +1698,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libelwix $as_me 5.6, which was +It was created by libelwix $as_me 5.11, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3922,50 +3926,7 @@ then : fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 -printf %s "checking for strlcpy in -lbsd... " >&6; } -if test ${ac_cv_lib_bsd_strlcpy+y} -then : - printf %s "(cached) " >&6 -else $as_nop - 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. */ -char strlcpy (); -int -main (void) -{ -return strlcpy (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - ac_cv_lib_bsd_strlcpy=yes -else $as_nop - ac_cv_lib_bsd_strlcpy=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_strlcpy" >&5 -printf "%s\n" "$ac_cv_lib_bsd_strlcpy" >&6; } -if test "x$ac_cv_lib_bsd_strlcpy" = xyes -then : - printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h - - LIBS="-lbsd $LIBS" - -fi - - # Checks for header files. ac_header= ac_cache= for ac_item in $ac_header_c_list @@ -4027,14 +3988,7 @@ then : fi -ac_fn_c_check_header_compile "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default" -if test "x$ac_cv_header_bsd_string_h" = xyes -then : - printf "%s\n" "#define HAVE_BSD_STRING_H 1" >>confdefs.h -fi - - # Checks for typedefs, structures, and compiler characteristics. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 printf %s "checking for inline... " >&6; } @@ -4248,8 +4202,14 @@ then : printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h fi +ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" +if test "x$ac_cv_func_strlcat" = xyes +then : + printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h +fi + DEBUG=no { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5 printf %s "checking Debug Build... " >&6; } @@ -4302,8 +4262,50 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5 printf "%s\n" "$MEMMGR" >&6; } -ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" +PATRICIA=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Patricia support" >&5 +printf %s "checking Patricia support... " >&6; } +# Check whether --enable-patricia was given. +if test ${enable_patricia+y} +then : + enableval=$enable_patricia; case "$enableval" in + yes) +printf "%s\n" "#define PATRICIA_SUPPORT /**/" >>confdefs.h + + PATRICIA=yes + ;; + *) + ;; + esac +fi + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATRICIA" >&5 +printf "%s\n" "$PATRICIA" >&6; } + +PELCO=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Pelco support" >&5 +printf %s "checking Pelco support... " >&6; } +# Check whether --enable-pelco was given. +if test ${enable_pelco+y} +then : + enableval=$enable_pelco; case "$enableval" in + yes) + +printf "%s\n" "#define PELCO_SUPPORT /**/" >>confdefs.h + + PELCO=yes + ;; + *) + ;; + esac +fi + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PELCO" >&5 +printf "%s\n" "$PELCO" >&6; } + +ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile debian/Makefile src/Makefile" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -4803,7 +4805,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libelwix $as_me 5.6, which was +This file was extended by libelwix $as_me 5.11, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4867,7 +4869,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libelwix config.status 5.6 +libelwix config.status 5.11 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -4993,6 +4995,7 @@ do "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;; "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; + "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;