From 0c602f0474abe72dc3941eec2524e640e2382b32 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 23 Jan 2000 19:20:02 +0000 Subject: Patch from David Fiddes which adds basic Cygwin support to the RPM scripts. The patch from David did not apply cleanly and Joel ended up making all the modifications plus some it should have included for consistency by hand. His comments: I've included a diff against the last (19991203) snapshot RPM scripts that adds what I think is required for Cygwin support. Basically all this boils down to is adding EXE extension support. I've added the AC_EXEEXT rule to conifgure.in (requires a valid 'cc' to work - this is not available in the standard Cygwin distro). Each of the *.spec.in have @exe_ext@ includes in them for each program that results in an EXE. The only odity here is that the chill driver program is a shell script and thus does not require .exe to be added... The mk*.in have all been updated to process the new exe_ext rule. --- scripts/configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/configure.in') diff --git a/scripts/configure.in b/scripts/configure.in index 73df2f7a74..bfa8872d7a 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -3,6 +3,8 @@ AC_INIT(binutils) AM_INIT_AUTOMAKE(scripts,19991025-0,no) +AC_EXEEXT + test -f ./setup.cache || cp ${srcdir}/setup.def ./setup.cache . ./setup.cache -- cgit v1.2.3