openbsd-ports/www/sarg/patches/patch-configure
aanriot cb891b737b update to 2.2.3.1 .
from Douglas Santos;
tested by michele@ and myself
2007-05-16 15:59:23 +00:00

26 lines
757 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2007/05/16 15:59:23 aanriot Exp $
--- configure.orig Wed Apr 4 07:28:32 2007
+++ configure Wed Apr 4 07:29:17 2007
@@ -2335,12 +2335,6 @@
;;
esac
-if test "${CC}" = "cc" ; then
- CFLAGS="${CFLAGS} -w -g -O2 -Aa"
-else
- CFLAGS="${CFLAGS} -w"
-fi
-
case "$host" in
*-solaris*)
LDFLAGS="${LDFLAGS} -lsocket -lnsl"
@@ -3990,7 +3984,7 @@
for ac_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
dirent.h sys/socket.h netdb.h arpa/inet.h sys/types.h netinet/in.h sys/stat.h \
- ctype.h gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h iconv.h \
+ ctype.h iconv.h \
errno.h sys/resource.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`