openbsd-ports/www/squid/patches/patch-configure_in
brad 86d502ddb4 - add 2 more distribution patches
- add snmp FLAVOR from Joel CARNAT <joel at carnat dot net>
- add some auth types and auth/acl helpers
- add NTLM auth SMB patch even though the default port does NOT compile this support in
2004-06-11 08:00:35 +00:00

32 lines
963 B
Plaintext

$OpenBSD: patch-configure_in,v 1.13 2004/06/11 08:00:36 brad Exp $
--- configure.in.orig 2004-06-11 02:24:20.000000000 -0400
+++ configure.in 2004-06-11 02:25:12.000000000 -0400
@@ -9,7 +9,7 @@ dnl
dnl
AC_INIT(src/main.c)
AC_CONFIG_AUX_DIR(cfgaux)
-AM_INIT_AUTOMAKE(squid, 2.5.STABLE5-CVS)
+AM_INIT_AUTOMAKE(squid, 2.5.STABLE5)
AM_CONFIG_HEADER(include/autoconf.h)
AC_REVISION($Revision: 1.13 $)dnl
AC_PREFIX_DEFAULT(/usr/local/squid)
@@ -1607,18 +1607,6 @@ dnl during compile.
;;
esac
-# Remove optimization for GCC 2.95.[123]
-# gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
-if test "$GCC" = "yes"; then
- GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
- case "$GCCVER" in
- [2.95.[123]])
- echo "Removing -O for gcc on $host with GCC $GCCVER"
- CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
- ;;
- esac
-fi
-
# Recommended by Balint Nagy Endre <bne@CareNet.hu>
case "$host" in
*-univel-sysv4.2MP)