You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
737 B

diff -Naur infozip-20020419.orig/zip-2.3/unix/configure infozip-20020419/zip-2.3/unix/configure
--- infozip-20020419.orig/zip-2.3/unix/configure 1999-04-27 21:49:05.000000000 +0200
+++ infozip-20020419/zip-2.3/unix/configure 2003-03-06 21:46:09.399540000 +0100
@@ -38,7 +38,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 | grep "[^_]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 ]