zip: new package, zip 3.0

This commit is contained in:
Tom G. Christensen
2013-11-20 17:38:02 +01:00
parent bcff4ab378
commit 85924e171c
4 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
diff -up zip30/unix/configure.cpp zip30/unix/configure
--- zip30/unix/configure.cpp 2008-06-20 05:32:20.000000000 +0200
+++ zip30/unix/configure 2013-05-09 20:26:44.042787000 +0200
@@ -218,15 +218,7 @@ fi
echo Check for the C preprocessor
-# on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp.
CPP="${CC} -E"
-# solaris as(1) needs -P, maybe others as well ?
-[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P"
-[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp
-[ -f /lib/cpp ] && CPP=/lib/cpp
-[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp
-[ -f /xenix ] && CPP="${CC} -E"
-[ -f /lynx.os ] && CPP="${CC} -E"
echo "#include <stdio.h>" > conftest.c
$CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E"