X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=configure.ac;h=0985f74c01143310c0c99dea5641269c6d70c462;hb=eacde4bca738cc819c369980ce9640f69ea1f283;hp=e517b75dbf2545b424d4e2aaede0d2a659c6133f;hpb=7ebf107f89d90036b66b778a23a3107435b94f37;p=chaz%2Ftar diff --git a/configure.ac b/configure.ac index e517b75..0985f74 100644 --- a/configure.ac +++ b/configure.ac @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. AC_INIT([GNU tar], [1.15.2], [bug-tar@gnu.org]) AC_CONFIG_SRCDIR([src/tar.c]) @@ -53,8 +53,7 @@ AC_HEADER_DIRENT AC_HEADER_MAJOR AC_HEADER_STAT AC_HEADER_STDC -AC_STRUCT_ST_BLKSIZE -AC_STRUCT_ST_BLOCKS + AC_MSG_CHECKING([for st_fstype string in struct stat]) AC_CACHE_VAL(diff_cv_st_fstype_string, [AC_TRY_COMPILE([#include @@ -115,19 +114,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,