openbsd-ports/net/silc-server/patches/patch-configure_in

46 lines
1017 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure_in,v 1.1 2003/05/04 04:02:53 brad Exp $
--- configure.in.orig Mon Mar 17 11:44:33 2003
+++ configure.in Fri Apr 11 16:18:53 2003
@@ -40,7 +40,6 @@ AM_INIT_AUTOMAKE(silc-server, 0.9.13)
AC_PREREQ(2.52)
AC_CONFIG_HEADERS(includes/silcdefs.h)
-CFLAGS=
AC_PROG_CC
AC_C_INLINE
AC_C_CONST
@@ -339,33 +338,6 @@ AC_DEFUN(SILC_ADD_CFLAGS,
$2])
unset tmp_CFLAGS
])
-
-if test "$GCC"; then
- # GCC specific options
- if test "x$summary_debug" = "xyes"; then
- SILC_ADD_CFLAGS(-g -O)
- else
- SILC_ADD_CFLAGS(-g -O2)
- fi
- SILC_ADD_CFLAGS(-Wall -finline-functions)
-else
- # Other compilers
- case "$target" in
- alpha*-dec-osf*)
- SILC_ADD_CFLAGS(-g3 -O2, SILC_ADD_CFLAGS(-g3 -O, SILC_ADD_CFLAGS(-O)))
- ;;
- *)
- SILC_ADD_CFLAGS(-g)
- SILC_ADD_CFLAGS(-O2, SILC_ADD_CFLAGS(-O))
- ;;
- esac
-
- # Intel C++ Compiler needs -restrict
- if test "x$CC" = "xicc"; then
- SILC_ADD_CFLAGS(-restrict)
- fi
-fi
-
##
## Installation