Remove checking for LIB_SETSOCKOPT, it is handled by paxutils
This commit is contained in:
13
configure.ac
13
configure.ac
@@ -115,19 +115,6 @@ AC_CHECK_DECLS([getgrgid],,, [#include <grp.h>])
|
||||
AC_CHECK_DECLS([getpwuid],,, [#include <pwd.h>])
|
||||
AC_CHECK_DECLS([time],,, [#include <time.h>])
|
||||
|
||||
# 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,
|
||||
|
||||
Reference in New Issue
Block a user