]> git.puffer.fish Git - mirror/frr.git/commitdiff
configure: dismiss libutil.h
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 13 Sep 2011 13:15:51 +0000 (17:15 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 25 Sep 2011 14:14:23 +0000 (18:14 +0400)
Recent versions of libc on Linux (Debian Testing) create lots of
compile warnings about direct usage of libutil.h

configure.ac
lib/zebra.h

index adcd8d2d7958476eb54eaf73476fa9479094af8e..75f99a6402b759564ae14fa45b2b20848698fd39 100755 (executable)
@@ -395,7 +395,7 @@ dnl Check other header files.
 dnl -------------------------
 AC_CHECK_HEADERS([stropts.h sys/ksym.h sys/times.h sys/select.h \
        sys/types.h linux/version.h netdb.h asm/types.h \
-       sys/param.h limits.h signal.h libutil.h \
+       sys/param.h limits.h signal.h \
        sys/socket.h netinet/in.h time.h sys/time.h])
 
 dnl Utility macro to avoid retyping includes all the time
index 6d19910cee2f8758eaf49d6a0384ebac6dfb2d66..c4c69d3d83b33ac8a1304ac957de596a837bc9a7 100644 (file)
@@ -237,10 +237,6 @@ typedef int socklen_t;
 #define UINT32_MAX     (4294967295U)
 #endif
 
-#ifdef HAVE_LIBUTIL_H
-#include <libutil.h>
-#endif /* HAVE_LIBUTIL_H */
-
 #ifdef HAVE_GLIBC_BACKTRACE
 #include <execinfo.h>
 #endif /* HAVE_GLIBC_BACKTRACE */