]> 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>
Tue, 27 Sep 2011 16:47:18 +0000 (20:47 +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 b3f42d54fbc6d0a48f83c20dc57bbc80989b4cbe..6da71c220e5f78d30a1988b886b9e665155ddb3e 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 2dc84514295046e8fdf7b3558b5b11a7e5eb5a13..4afb20eb090967f1fc85ac867d67a6c6efeacbaf 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 */