Hi,
the below patch allows to build the whole cpio 2.6 package OOTB also on
Cygwin. The problem is that the $(EXEEXT) suffix is missing in the
Makefile. The result is that the dependencies are screwed up when building
and the rmt build fails due to not finding local header files. The below
patch fixes that.
Thanks for considering,
Corinna
* m4/rmt.m4 (PU_RMT_PROG): Add $(EXEEXT) to rmt.
--- m4/rmt.m4.ORIG 2005-05-30 14:06:13.934480000 +0200
+++ m4/rmt.m4 2005-05-30 14:00:00.460332800 +0200
@@ -10,7 +10,7 @@ AC_DEFUN([PU_RMT],[
#include <sys/socket.h>],
pu_cv_header_rmt=yes,
pu_cv_header_rmt=no)])
- test $pu_cv_header_rmt = yes && PU_RMT_PROG='rmt'
+ test $pu_cv_header_rmt = yes && PU_RMT_PROG='rmt$(EXEEXT)'
AC_SUBST(PU_RMT_PROG)
fi
}
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
_______________________________________________
Bug-cpio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cpio