]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
binmode.o should no longer be needed on Cygwin.
authorTim Kientzle <kientzle@gmail.com>
Sat, 27 Jun 2009 18:32:16 +0000 (14:32 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 27 Jun 2009 18:32:16 +0000 (14:32 -0400)
SVN-Revision: 1189

Makefile.am
configure.ac

index 6b1ab0f89eace394968a08ca04a604c086f880fa..a03245b53410185fe694d5d870b4a43f32379f5f 100644 (file)
@@ -303,8 +303,6 @@ libarchive_test_SOURCES=                                    \
 
 libarchive_test_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test -DLIBARCHIVE_STATIC
 
-libarchive_test_LDADD=@PROG_LDADD_EXTRA@
-
 # The "list.h" file just lists all of the tests defined in all of the sources.
 # Building it automatically provides a sanity-check on libarchive_test_SOURCES
 # above.
@@ -397,7 +395,7 @@ else
 bsdtar_static=
 endif
 
-bsdtar_LDADD= libarchive.la libarchive_fe.la @PROG_LDADD_EXTRA@
+bsdtar_LDADD= libarchive.la libarchive_fe.la
 bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe
 
 bsdtar_LDFLAGS= $(bsdtar_static)
@@ -445,7 +443,6 @@ bsdtar_test_SOURCES=                                                \
 
 
 bsdtar_test_CPPFLAGS= -I$(top_builddir)/tar/test
-bsdtar_test_LDADD=@PROG_LDADD_EXTRA@
 
 tar/test/list.h: Makefile
        cat $(top_srcdir)/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
@@ -497,7 +494,7 @@ else
 bsdcpio_static=
 endif
 
-bsdcpio_LDADD= libarchive_fe.la libarchive.la @PROG_LDADD_EXTRA@
+bsdcpio_LDADD= libarchive_fe.la libarchive.la
 bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe
 bsdcpio_LDFLAGS= $(bsdcpio_static)
 bsdcpio_EXTRA_DIST=            \
@@ -559,7 +556,7 @@ bsdcpio_test_SOURCES=                                               \
 bsdcpio_test_CPPFLAGS= \
        -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
        -I$(top_srcdir)/cpio -I$(top_builddir)/cpio/test
-bsdcpio_test_LDADD=libarchive_fe.la @PROG_LDADD_EXTRA@
+bsdcpio_test_LDADD=libarchive_fe.la
 
 cpio/test/list.h: Makefile
        cat $(top_srcdir)/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
index 4750169f667f98ff5b656858c8b1ec7774d6933f..929eb2a2bea5ce2e5b907300a32d18d71dea3e5a 100644 (file)
@@ -85,21 +85,6 @@ AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 AC_CHECK_TOOL([STRIP],[strip])
 
-#
-# Locate some specific link objects for cygwin
-#
-prog_ldadd_extra=
-case "$host_os" in
-*cygwin*)
-  binmode_path=`$CC -print-file-name=binmode.o`
-  if test -n "$binmode_path" && test -f "$binmode_path" ; then
-    prog_ldadd_extra="$binmode_path"
-  fi
-  ;;
-esac
-PROG_LDADD_EXTRA=$prog_ldadd_extra
-AC_SUBST(PROG_LDADD_EXTRA)
-
 #
 # Options for building bsdtar.
 #