$NetBSD: patch-aa,v 1.6 2003/06/29 22:24:33 jtb Exp $ --- configure.orig +++ configure @@ -5816,6 +5806,7 @@ if test -n "$GCC"; then OPT="-O2"; fi;; + netbsd*) ;; next*) OPT="-O2";; @@ -5931,7 +5922,7 @@ fi -CFLAGS="-DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)" +CFLAGS="$CFLAGS -DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)" echo "$as_me:$LINENO: result: Compile command is $CC $CFLAGS" >&5 echo "${ECHO_T}Compile command is $CC $CFLAGS" >&6 echo "$as_me:$LINENO: result: \$(OPT) is $OPT" >&5