From: Sami Kerola Date: Sat, 20 Aug 2016 08:09:01 +0000 (+0100) Subject: build-sys: remove unused autoconf check values X-Git-Tag: v0.88~30^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c2b28df5d7bd482dab79531bda7dc3f18a0d45d;p=thirdparty%2Fmtr.git build-sys: remove unused autoconf check values Return values from checks are not used anywhere in this project. --- diff --git a/configure.ac b/configure.ac index 98044b9..ea9e1ce 100644 --- a/configure.ac +++ b/configure.ac @@ -110,9 +110,6 @@ AC_CHECK_FUNC([socket], [], AC_CHECK_FUNC([gethostbyname], [], [AC_CHECK_LIB([nsl], [gethostbyname], [], [AC_MSG_ERROR([No nameservice library found])])]) -AC_CHECK_FUNCS([seteuid]) -dnl AC_CHECK_FUNC([setuid], [], [AC_MSG_ERROR([I Need either seteuid or setuid])]) - # Find resolver library. AC_CHECK_FUNC([res_query], [RESOLV_LIBS=""], [ AC_CHECK_LIB([resolv], [__res_query], [RESOLV_LIBS="-lresolv"], [ @@ -128,8 +125,6 @@ AC_SUBST([RESOLV_LIBS]) # Error printing functions. AC_CHECK_FUNC([herror], [], [AC_DEFINE([NO_HERROR], [1], [Define if you don't have the herror() function available.])]) -AC_CHECK_FUNC([strerror], [], - [AC_DEFINE([NO_STRERROR], [1], [Define if you don't have the strerror() function available.])]) AC_CHECK_DECLS([errno], [], [], [[ #include @@ -146,10 +141,6 @@ AC_CHECK_TYPE([socklen_t], #include #endif]]) -AC_CHECK_TYPE([struct in_addr], - [AC_DEFINE([HAVE_STRUCT_INADDR], [], [Define if you have struct in_addr])], [], - [[#include ]]) - # Add C flags to display more warnings AC_MSG_CHECKING([for C flags to get more warnings]) ac_save_CFLAGS="$CFLAGS"