From: Sergey Poznyakoff Date: Thu, 19 May 2005 15:32:56 +0000 (+0000) Subject: Remove checking for LIB_SETSOCKOPT, it is handled by paxutils X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=dfabe2397a1595b8683204856f1bf23305c97ef5;p=chaz%2Ftar Remove checking for LIB_SETSOCKOPT, it is handled by paxutils --- diff --git a/configure.ac b/configure.ac index 77b33d4..0a3bfca 100644 --- a/configure.ac +++ b/configure.ac @@ -115,19 +115,6 @@ AC_CHECK_DECLS([getgrgid],,, [#include ]) AC_CHECK_DECLS([getpwuid],,, [#include ]) AC_CHECK_DECLS([time],,, [#include ]) -# Set LIB_SETSOCKOPT to -lnsl -lsocket if necessary. -tar_save_LIBS=$LIBS - LIB_SETSOCKOPT= - AC_SEARCH_LIBS(setsockopt, [socket], , - [AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])]) - AC_SEARCH_LIBS(setsockopt, [nsl]) - - case "$ac_cv_search_setsockopt" in - -l*) LIB_SETSOCKOPT=$ac_cv_search_setsockopt - esac - AC_SUBST(LIB_SETSOCKOPT) -LIBS=$tar_save_LIBS - AC_REPLACE_FUNCS(waitpid) AC_CACHE_CHECK(for remote shell, tar_cv_path_RSH,