aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/zip/files/patch-aa
blob: 310edfb271c4c5401c4c47aeb7b61bcd1c0b3cb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- unix/configure.orig Tue Apr 27 12:49:05 1999
+++ unix/configure  Tue Jun 24 17:47:35 2003
@@ -23,7 +23,6 @@
 [ -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"
 
@@ -38,7 +37,7 @@
     echo "int foo() { return 0;}" > conftest.c
     $CC -c conftest.c >/dev/null 2>/dev/null
     echo Check if compiler generates underlines
-    nm conftest.o | grep "(^|[^_])foo" >/dev/null 2>/dev/null
+    nm conftest.o | egrep "(^|[^_])foo" >/dev/null 2>/dev/null
     [ $? -eq 0 ] && CPP="${CPP} -DNO_UNDERLINE"
     if eval "$CPP crc_i386.S > _crc_i386.s 2>/dev/null"; then
       if eval "$CC -c _crc_i386.s >/dev/null 2>/dev/null" && [ -f _crc_i386.o ]