11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
3- # Generated by GNU Autoconf 2.68 for Weave g212389ac -dirty.
3+ # Generated by GNU Autoconf 2.68 for Weave g9c6721d9 -dirty.
44#
55# Report bugs to <
[email protected] >.
66#
@@ -570,8 +570,8 @@ MAKEFLAGS=
570570# Identity of this package.
571571PACKAGE_NAME='Weave'
572572PACKAGE_TARNAME='weave'
573- PACKAGE_VERSION='g212389ac -dirty'
574- PACKAGE_STRING='Weave g212389ac -dirty'
573+ PACKAGE_VERSION='g9c6721d9 -dirty'
574+ PACKAGE_STRING='Weave g9c6721d9 -dirty'
575575PACKAGE_BUGREPORT='
[email protected] '
576576PACKAGE_URL='https://developer.nest.com/'
577577
@@ -699,6 +699,8 @@ WEAVE_FUZZING_ENABLED_FALSE
699699WEAVE_FUZZING_ENABLED_TRUE
700700WEAVE_WITH_VERHOEFF_FALSE
701701WEAVE_WITH_VERHOEFF_TRUE
702+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_FALSE
703+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_TRUE
702704WEAVE_BUILD_DEVICE_MANAGER_FALSE
703705WEAVE_BUILD_DEVICE_MANAGER_TRUE
704706INET_CONFIG_ENABLE_ASYNC_DNS_SOCKETS_FALSE
@@ -1071,6 +1073,7 @@ enable_ipv4
10711073with_inet_endpoint
10721074enable_adns
10731075enable_device_manager
1076+ enable_installable_python_package
10741077enable_verhoeff
10751078enable_fuzzing
10761079with_enhanced_printf
@@ -1709,7 +1712,7 @@ if test "$ac_init_help" = "long"; then
17091712 # Omit some internal or obsolete options to make the list less imposing.
17101713 # This message is too long to be a string in the A/UX 3.1 sh.
17111714 cat <<_ACEOF
1712- \`configure' configures Weave g212389ac -dirty to adapt to many kinds of systems.
1715+ \`configure' configures Weave g9c6721d9 -dirty to adapt to many kinds of systems.
17131716
17141717Usage: $0 [OPTION]... [VAR=VALUE]...
17151718
17801783
17811784if test -n "$ac_init_help"; then
17821785 case $ac_init_help in
1783- short | recursive ) echo "Configuration of Weave g212389ac -dirty:";;
1786+ short | recursive ) echo "Configuration of Weave g9c6721d9 -dirty:";;
17841787 esac
17851788 cat <<\_ACEOF
17861789
@@ -1842,6 +1845,9 @@ Optional Features:
18421845 --disable-adns Disable building of adns [default=no].
18431846 --enable-device-manager Enable building of Device Manager wrapper libraries
18441847 [default=yes].
1848+ --enable-installable-python-package
1849+ Enable building of an installable Python package
1850+ (wheel) for OpenWeave [default=yes].
18451851 --enable-verhoeff Enable Verhoeff support [default=no].
18461852 --enable-fuzzing Enable Fuzzing - Requires clang 6.0 or greater
18471853 [default=no].
21462152test -n "$ac_init_help" && exit $ac_status
21472153if $ac_init_version; then
21482154 cat <<\_ACEOF
2149- Weave configure g212389ac -dirty
2155+ Weave configure g9c6721d9 -dirty
21502156generated by GNU Autoconf 2.68
21512157
21522158Copyright (C) 2010 Free Software Foundation, Inc.
@@ -3158,7 +3164,7 @@ cat >config.log <<_ACEOF
31583164This file contains any messages produced by compilers while
31593165running configure, to aid debugging if configure makes a mistake.
31603166
3161- It was created by Weave $as_me g212389ac -dirty, which was
3167+ It was created by Weave $as_me g9c6721d9 -dirty, which was
31623168generated by GNU Autoconf 2.68. Invocation command line was
31633169
31643170 $ $0 $@
43654371
43664372# Define the identity of the package.
43674373 PACKAGE='weave'
4368- VERSION='g212389ac -dirty'
4374+ VERSION='g9c6721d9 -dirty'
43694375
43704376
43714377# Some tools Automake needs.
@@ -9294,6 +9300,29 @@ if test "${PYTHON}" = ""; then
92949300 as_fn_error $? "could not find python: python is required to build this package." "$LINENO" 5
92959301fi
92969302
9303+ # Check for specific Python packages
9304+
9305+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python setuptools package" >&5
9306+ $as_echo_n "checking for Python setuptools package... " >&6; }
9307+ if ${PYTHON} -c 'import setuptools' >/dev/null 2>&1; then
9308+ have_python_package_setuptools=yes
9309+ else
9310+ have_python_package_setuptools=no
9311+ fi
9312+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_python_package_setuptools}" >&5
9313+ $as_echo "${have_python_package_setuptools}" >&6; }
9314+
9315+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python wheel package" >&5
9316+ $as_echo_n "checking for Python wheel package... " >&6; }
9317+ if ${PYTHON} -c 'import wheel' >/dev/null 2>&1; then
9318+ have_python_package_wheel=yes
9319+ else
9320+ have_python_package_wheel=no
9321+ fi
9322+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_python_package_wheel}" >&5
9323+ $as_echo "${have_python_package_wheel}" >&6; }
9324+
9325+
92979326#
92989327# Checks for specific compiler characteristics
92999328#
@@ -24503,7 +24532,7 @@ fi
2450324532# Fail if Device Manager wrapper libraries are enabled but the "sockets" network stack is not. This combination is
2450424533# not supported.
2450524534if test "${build_device_manager}" = "yes"; then
24506- if test " ${WEAVE_SYSTEM_CONFIG_USE_SOCKETS}" eq 0; then
24535+ if test ${WEAVE_SYSTEM_CONFIG_USE_SOCKETS} - eq 0; then
2450724536 as_fn_error $? "Building Device Manager wrapper libraries requires selecting sockets as a target network stack" "$LINENO" 5
2450824537 fi
2450924538fi
@@ -24520,6 +24549,63 @@ fi
2452024549
2452124550
2452224551
24552+ #
24553+ # OpenWeave Python installable package (wheel)
24554+ #
24555+
24556+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build installable Python package for OpenWeave" >&5
24557+ $as_echo_n "checking whether to build installable Python package for OpenWeave... " >&6; }
24558+ # Check whether --enable-installable_python_package was given.
24559+ if test "${enable_installable_python_package+set}" = set; then :
24560+ enableval=$enable_installable_python_package;
24561+ case "${enableval}" in
24562+
24563+ no|yes)
24564+ build_installable_python_package=${enableval}
24565+ ;;
24566+
24567+ *)
24568+ as_fn_error $? "Invalid value ${enableval} for --enable-installable-python-package" "$LINENO" 5
24569+ ;;
24570+
24571+ esac
24572+
24573+ else
24574+
24575+ # By default, enable building an installable Python package iff the setuptools and wheel packages
24576+ # are available.
24577+ if test "${have_python_package_setuptools}" == "yes" -a "${have_python_package_wheel}" == "yes"; then
24578+ build_installable_python_package=yes
24579+ else
24580+ build_installable_python_package=no
24581+ fi
24582+
24583+ fi
24584+
24585+
24586+ # Fail if requested to build an installable Python package but the setuptools and wheel packages
24587+ # are not available
24588+ if test "${build_installable_python_package}" = "yes"; then
24589+ if test "${have_python_package_setuptools}" != "yes"; then
24590+ as_fn_error $? "The Python setuptools package must be installed in order to build an installable package for OpenWeave" "$LINENO" 5
24591+ fi
24592+ if test "${have_python_package_wheel}" != "yes"; then
24593+ as_fn_error $? "The Python wheel package must be installed in order to build an installable package for OpenWeave" "$LINENO" 5
24594+ fi
24595+ fi
24596+
24597+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_installable_python_package}" >&5
24598+ $as_echo "${build_installable_python_package}" >&6; }
24599+ if test "${build_installable_python_package}" = "yes"; then
24600+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_TRUE=
24601+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_FALSE='#'
24602+ else
24603+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_TRUE='#'
24604+ WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_FALSE=
24605+ fi
24606+
24607+
24608+
2452324609#
2452424610# Verhoeff support
2452524611#
@@ -29754,6 +29840,10 @@ if test -z "${WEAVE_BUILD_DEVICE_MANAGER_TRUE}" && test -z "${WEAVE_BUILD_DEVICE
2975429840 as_fn_error $? "conditional \"WEAVE_BUILD_DEVICE_MANAGER\" was never defined.
2975529841Usually this means the macro was only invoked conditionally." "$LINENO" 5
2975629842fi
29843+ if test -z "${WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_TRUE}" && test -z "${WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE_FALSE}"; then
29844+ as_fn_error $? "conditional \"WEAVE_BUILD_INSTALLABLE_PYTHON_PACKAGE\" was never defined.
29845+ Usually this means the macro was only invoked conditionally." "$LINENO" 5
29846+ fi
2975729847if test -z "${WEAVE_WITH_VERHOEFF_TRUE}" && test -z "${WEAVE_WITH_VERHOEFF_FALSE}"; then
2975829848 as_fn_error $? "conditional \"WEAVE_WITH_VERHOEFF\" was never defined.
2975929849Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -30231,7 +30321,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3023130321# report actual input values of CONFIG_FILES etc. instead of their
3023230322# values after options handling.
3023330323ac_log="
30234- This file was extended by Weave $as_me g212389ac -dirty, which was
30324+ This file was extended by Weave $as_me g9c6721d9 -dirty, which was
3023530325generated by GNU Autoconf 2.68. Invocation command line was
3023630326
3023730327 CONFIG_FILES = $CONFIG_FILES
@@ -30298,7 +30388,7 @@ _ACEOF
3029830388cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3029930389ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3030030390ac_cs_version="\\
30301- Weave config.status g212389ac -dirty
30391+ Weave config.status g9c6721d9 -dirty
3030230392configured by $0, generated by GNU Autoconf 2.68,
3030330393 with options \\"\$ac_cs_config\\"
3030430394
0 commit comments