Merge pull request #3156 from rpv-tomsk/dns
authorMatthias Runge <mrunge@redhat.com>
Fri, 28 Jun 2019 10:05:32 +0000 (12:05 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2019 10:05:32 +0000 (12:05 +0200)
dns plugin: Do not use headers from glibc

1  2 
configure.ac

diff --combined configure.ac
@@@ -635,16 -635,6 +635,6 @@@ f
  
  # }}}
  
- # For the dns plugin
- AC_CHECK_HEADERS([arpa/nameser.h])
- AC_CHECK_HEADERS([arpa/nameser_compat.h], [], [],
-   [[
-     #if HAVE_ARPA_NAMESER_H
-     # include <arpa/nameser.h>
-     #endif
-   ]]
- )
  AC_CHECK_HEADERS([net/if_arp.h], [], [],
    [[
      #if HAVE_SYS_SOCKET_H
@@@ -4771,7 -4761,7 +4761,7 @@@ if test "$PYTHON_CONFIG" != ""; the
    if test $? -ne 0; then
      with_libpython="no"
    fi
 -  LIBPYTHON_LIBS="`${PYTHON_CONFIG} --libs`"
 +  LIBPYTHON_LIBS="`${PYTHON_CONFIG} --libs --embed`" || LIBPYTHON_LIBS="`${PYTHON_CONFIG} --libs`"
    if test $? -ne 0; then
      with_libpython="no"
    fi