diff options
| author | Michael Biebl <biebl@debian.org> | 2021-02-18 18:53:54 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-02-18 18:53:54 +0100 |
| commit | 3a56bce6c0ea7ba0fe269520547740783b342e0d (patch) | |
| tree | 9add44a08843f5ea53301716a0e8fde03a6536a7 /configure | |
| parent | 80ec1decc49c72efec2a8b87c06245c92c0ab807 (diff) | |
New upstream version 1.30.0 upstream/1.30.0
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 126 |
1 files changed, 34 insertions, 92 deletions
diff --git a/configure b/configure index 6ffee34e..591ee486 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for NetworkManager 1.29.90. +# Generated by GNU Autoconf 2.69 for NetworkManager 1.30.0. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>. # @@ -591,8 +591,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='NetworkManager' PACKAGE_TARNAME='NetworkManager' -PACKAGE_VERSION='1.29.90' -PACKAGE_STRING='NetworkManager 1.29.90' +PACKAGE_VERSION='1.30.0' +PACKAGE_STRING='NetworkManager 1.30.0' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager' PACKAGE_URL='' @@ -757,8 +757,6 @@ GNUTLS_CFLAGS WITH_FIREWALLD_ZONE_FALSE WITH_FIREWALLD_ZONE_TRUE NM_MODIFY_SYSTEM_POLICY -POLKIT_LIBS -POLKIT_CFLAGS NM_CONFIG_DEFAULT_MAIN_AUTH_POLKIT_TEXT WITH_TEAMDCTL_FALSE WITH_TEAMDCTL_TRUE @@ -1072,6 +1070,7 @@ with_selinux with_libaudit enable_teamdctl enable_polkit +with_polkit_agent_helper_1 enable_modify_system enable_firewalld_zone with_crypto @@ -1163,8 +1162,6 @@ JANSSON_CFLAGS JANSSON_LIBS LIBTEAMDCTL_CFLAGS LIBTEAMDCTL_LIBS -POLKIT_CFLAGS -POLKIT_LIBS GNUTLS_CFLAGS GNUTLS_LIBS NSS_CFLAGS @@ -1726,7 +1723,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 NetworkManager 1.29.90 to adapt to many kinds of systems. +\`configure' configures NetworkManager 1.30.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1796,7 +1793,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of NetworkManager 1.29.90:";; + short | recursive ) echo "Configuration of NetworkManager 1.30.0:";; esac cat <<\_ACEOF @@ -1914,6 +1911,8 @@ Optional Packages: yes-disabled-by-default enables support, but disables it unless explicitly configured via NetworkManager.conf + --with-polkit-agent-helper-1=/path/to/polkit-agent-helper-1 + Path to the polkit-agent-helper-1 binary from polkit --with-crypto=nss|gnutls Cryptography library to use for certificate and key operations @@ -2037,9 +2036,6 @@ Some influential environment variables: C compiler flags for LIBTEAMDCTL, overriding pkg-config LIBTEAMDCTL_LIBS linker flags for LIBTEAMDCTL, overriding pkg-config - POLKIT_CFLAGS - C compiler flags for POLKIT, overriding pkg-config - POLKIT_LIBS linker flags for POLKIT, overriding pkg-config GNUTLS_CFLAGS C compiler flags for GNUTLS, overriding pkg-config GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config @@ -2142,7 +2138,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -NetworkManager configure 1.29.90 +NetworkManager configure 1.30.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2915,7 +2911,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 NetworkManager $as_me 1.29.90, which was +It was created by NetworkManager $as_me 1.30.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3785,7 +3781,7 @@ fi # Define the identity of the package. PACKAGE='NetworkManager' - VERSION='1.29.90' + VERSION='1.30.0' cat >>confdefs.h <<_ACEOF @@ -17968,9 +17964,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu NM_MAJOR_VERSION=1 -NM_MINOR_VERSION=29 -NM_MICRO_VERSION=90 -NM_VERSION=1.29.90 +NM_MINOR_VERSION=30 +NM_MICRO_VERSION=0 +NM_VERSION=1.30.0 @@ -17978,7 +17974,7 @@ NM_VERSION=1.29.90 -NM_GIT_SHA=4e11b182a054313e6c785796d7665f8e2f1be4fe +NM_GIT_SHA=fc29a96097e0f11ab963c27036b6b8b3e1f3d42b if test """" != "no-config-h" ; then @@ -24333,88 +24329,33 @@ NM_CONFIG_DEFAULT_MAIN_AUTH_POLKIT_TEXT="$enable_polkit" -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 -$as_echo_n "checking for POLKIT... " >&6; } - -if test -n "$POLKIT_CFLAGS"; then - pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1 >= 0.97\""; } >&5 - ($PKG_CONFIG --exists --print-errors "polkit-agent-1 >= 0.97") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-agent-1 >= 0.97" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$POLKIT_LIBS"; then - pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1 >= 0.97\""; } >&5 - ($PKG_CONFIG --exists --print-errors "polkit-agent-1 >= 0.97") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-agent-1 >= 0.97" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes +# Check whether --with-polkit-agent-helper-1 was given. +if test "${with_polkit_agent_helper_1+set}" = set; then : + withval=$with_polkit_agent_helper_1; POLKIT_AGENT_HELPER_1_PATH="$withval" else - pkg_failed=yes -fi - else - pkg_failed=untried + POLKIT_AGENT_HELPER_1_PATH="" fi - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "polkit-agent-1 >= 0.97" 2>&1` - else - POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "polkit-agent-1 >= 0.97" 2>&1` +if test -z "$POLKIT_AGENT_HELPER_1_PATH" ; then + for p in /usr/libexec/polkit-agent-helper-1 \ + /usr/lib/polkit-1/polkit-agent-helper-1 \ + /usr/lib/policykit-1/polkit-agent-helper-1 ; do + if test -f "$p" ; then + POLKIT_AGENT_HELPER_1_PATH="$p" + break fi - # Put the nasty error message in config.log where it belongs - echo "$POLKIT_PKG_ERRORS" >&5 - - have_pk_agent=no -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - have_pk_agent=no -else - POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS - POLKIT_LIBS=$pkg_cv_POLKIT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_pk_agent=yes + done fi -if test x"$have_pk_agent" = x"no"; then - POLKIT_PACKAGE_PREFIX="/usr" -else - POLKIT_PACKAGE_PREFIX=`$PKG_CONFIG --variable=prefix polkit-agent-1` +test -z "$POLKIT_AGENT_HELPER_1_PATH" && POLKIT_AGENT_HELPER_1_PATH=/usr/lib/polkit-1/polkit-agent-helper-1 +if test "$POLKIT_AGENT_HELPER_1_PATH" = "${POLKIT_AGENT_HELPER_1_PATH#/}" ; then + as_fn_error $? "\"polkit_agent_helper_1 must be an absolute path, but is '$POLKIT_AGENT_HELPER_1_PATH'\"" "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF -#define POLKIT_PACKAGE_PREFIX "$POLKIT_PACKAGE_PREFIX" +#define POLKIT_AGENT_HELPER_1_PATH "$POLKIT_AGENT_HELPER_1_PATH" _ACEOF - # Check whether --enable-modify-system was given. if test "${enable_modify_system+set}" = set; then : enableval=$enable_modify_system; @@ -29448,7 +29389,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 NetworkManager $as_me 1.29.90, which was +This file was extended by NetworkManager $as_me 1.30.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -29514,7 +29455,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="\\ -NetworkManager config.status 1.29.90 +NetworkManager config.status 1.30.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -31648,6 +31589,7 @@ if test "${enable_modify_system}" = "yes"; then else echo " policykit: main.auth-polkit=${enable_polkit} (restrictive modify.system)" fi +echo " polkit-agent-helper-1: $POLKIT_AGENT_HELPER_1_PATH" echo " selinux: $have_selinux" echo " systemd-journald: $have_systemd_journal (default: logging.backend=${nm_config_logging_backend_default})" echo " hostname persist: ${hostname_persist}" |