|
|
@@ -1,5 +1,24 @@
|
|
|
--- zip-2.3/unix/configure 1999-04-27 21:49:05.000000000 +0200
|
|
|
+++ zip-2.3/unix/configure 2003-03-06 21:46:09.399540000 +0100
|
|
|
+@@ -17,15 +17,9 @@
|
|
|
+ LN="ln -s"
|
|
|
+
|
|
|
+ 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"
|
|
|
++# use the OpenPKG GCC cpp binary unconditionally,
|
|
|
++# because on some platforms, the native one is broken
|
|
|
++CPP="@l_cpp@"
|
|
|
+
|
|
|
+ echo Check if we can use asm code
|
|
|
+ OBJA=""
|
|
|
@@ -38,7 +38,7 @@
|
|
|
echo "int foo() { return 0;}" > conftest.c
|
|
|
$CC -c conftest.c >/dev/null 2>/dev/null
|