summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-22 14:55:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-22 14:55:54 +0200
commit67601222815391e7739fa8592d0d0de57f5fb316 (patch)
treeff5d3d9f56fa8832cbf63f1e92ba15c539d2dd8d /configure.ac
parent33685ef74eaebabb2b6c609cc0313a540b9ba3ff (diff)
downloadlibrpm-tizen-67601222815391e7739fa8592d0d0de57f5fb316.tar.gz
librpm-tizen-67601222815391e7739fa8592d0d0de57f5fb316.tar.bz2
librpm-tizen-67601222815391e7739fa8592d0d0de57f5fb316.zip
Remove unused h_errno test from configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 895907f1e..015be189c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -554,13 +554,6 @@ fi
AC_C_INLINE
dnl look for libc features
-PROVIDES_ERRNO=no
-AC_MSG_CHECKING(if <netdb.h> defines h_errno)
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[printf("%d",h_errno)]])],[PROVIDES_ERRNO=yes],[])
-AC_MSG_RESULT($PROVIDES_ERRNO)
-if test $PROVIDES_ERRNO = yes; then
- AC_DEFINE(HAVE_HERRNO, 1, [ Define as 1 if <netdb.h> defines h_errno])
-fi
dnl If a system doesn't have S_IFSOCK, define it as 0 which will
dnl make S_ISSOCK always return false (nice, eh?)