--- libelwix/configure 2015/01/19 23:22:10 1.26.2.1 +++ libelwix/configure 2024/03/14 23:29:07 1.66.2.2 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libelwix 3.6. +# Generated by GNU Autoconf 2.69 for libelwix 5.10. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libelwix' PACKAGE_TARNAME='libelwix' -PACKAGE_VERSION='3.6' -PACKAGE_STRING='libelwix 3.6' +PACKAGE_VERSION='5.10' +PACKAGE_STRING='libelwix 5.10' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -670,6 +670,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -693,6 +694,9 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_debug +with_memmgr +enable_patricia +enable_pelco ' ac_precious_vars='build_alias host_alias @@ -741,6 +745,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -993,6 +998,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1130,7 +1144,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1243,7 +1257,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 3.6 to adapt to many kinds of systems. +\`configure' configures libelwix 5.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1283,6 +1297,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1309,7 +1324,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libelwix 3.6:";; + short | recursive ) echo "Configuration of libelwix 5.10:";; esac cat <<\_ACEOF @@ -1318,7 +1333,14 @@ 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] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-memmgr= Memory manager for ELWIX (elwix|system) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1395,7 +1417,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libelwix configure 3.6 +libelwix configure 5.10 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1764,7 +1786,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 3.6, which was +It was created by libelwix $as_me 5.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3313,7 +3335,7 @@ $as_echo "no" >&6; } fi if test "x$ac_ct_MKDEP" = x; then - MKDEP="no" + MKDEP="../mkdep" else case $cross_compiling:$ac_tool_warned in yes:) @@ -3970,7 +3992,7 @@ $as_echo "#define realloc rpl_realloc" >>confdefs.h fi -for ac_func in memset regcomp strchr strerror +for ac_func in memset regcomp strchr strerror link_addr strlcpy strlcat do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -4004,8 +4026,77 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 $as_echo "$DEBUG" >&6; } -ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile" +MEMMGR="elwix" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Memory management" >&5 +$as_echo_n "checking Memory management... " >&6; } +# Check whether --with-memmgr was given. +if test "${with_memmgr+set}" = set; then : + withval=$with_memmgr; case "$withval" in + sys|system) + MEMMGR="system" + +$as_echo "#define MEMMGR ELWIX_SYSM" >>confdefs.h + + ;; + *) + MEMMGR="elwix" + +$as_echo "#define MEMMGR ELWIX_MPOOL" >>confdefs.h + + ;; + esac +else + +$as_echo "#define MEMMGR ELWIX_MPOOL" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEMMGR" >&5 +$as_echo "$MEMMGR" >&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; } + +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 @@ -4512,7 +4603,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 3.6, which was +This file was extended by libelwix $as_me 5.10, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4574,7 +4665,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libelwix config.status 3.6 +libelwix config.status 5.10 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -4700,6 +4791,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;;