[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] [PATCH] Allow building rmt OOTB on Cygwin
From: |
Corinna Vinschen |
Subject: |
[Bug-cpio] [PATCH] Allow building rmt OOTB on Cygwin |
Date: |
Mon, 30 May 2005 14:07:07 +0200 |
User-agent: |
Mutt/1.4.2i |
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] [PATCH] Allow building rmt OOTB on Cygwin,
Corinna Vinschen <=