pidgin/pidgin

Remove the network manager checks from configure.ac
replace-nm-with-gio
2015-12-27, Gary Kramlich
d1c752a86448
Parents 643d7b0aadbd
Children 88afe246144e
Remove the network manager checks from configure.ac
  • +0 -24
    configure.ac
  • --- a/configure.ac Sat Dec 26 18:01:00 2015 -0500
    +++ b/configure.ac Sun Dec 27 23:43:49 2015 -0600
    @@ -1513,9 +1513,6 @@
    AC_ARG_ENABLE(dbus,
    [AS_HELP_STRING([--disable-dbus], [disable D-Bus support])], ,
    enable_dbus="$is_not_win32")
    -AC_ARG_ENABLE(nm,
    - [AS_HELP_STRING([--disable-nm], [disable NetworkManager support (requires D-Bus)])],
    - enable_nm=$enableval, enable_nm="$is_not_win32")
    if test "x$enable_dbus" = "xyes" ; then
    AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no)
    @@ -1536,26 +1533,6 @@
    fi])
    fi
    -dnl Check for NetworkManager.h; if we don't have it, oh well
    -if test "x$enable_dbus" = "xyes" ; then
    - if test "x$enable_nm" = "xyes" ; then
    - PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager >= 0.5.0], [
    - AC_SUBST(NETWORKMANAGER_CFLAGS)
    - AC_SUBST(NETWORKMANAGER_LIBS)
    - AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.])
    - ], [
    - enable_nm=no
    - if test "x$force_deps" = "xyes" ; then
    - AC_MSG_ERROR([
    -NetworkManager development headers not found.
    -Use --disable-nm if you do not need NetworkManager support.
    -])
    - fi])
    - fi
    -else
    - enable_nm=no
    -fi
    -
    dnl #######################################################################
    dnl # Check for Unity and Messaging Menu
    dnl #######################################################################
    @@ -2336,7 +2313,6 @@
    eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR
    fi
    echo Build with GNU Libidn......... : $enable_idn
    -echo Build with NetworkManager..... : $enable_nm
    echo SSL Library/Libraries......... : $msg_ssl
    if test "x$SSL_CERTIFICATES_DIR" != "x" ; then
    eval eval echo SSL CA certificates directory. : $SSL_CERTIFICATES_DIR