- (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test.

This commit is contained in:
Darren Tucker 2005-11-12 15:20:52 +11:00
parent 5a0bdf770c
commit 3f9545ee67
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
- (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specific
ifdef lost during sync. Spotted by tim@.
- (dtucker) [openbsd-compat/{realpath.c,stroll.c,rresvport.c}] $OpenBSD tag.
- (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test.
20051110
- (dtucker) [openbsd-compat/setenv.c] Merge changes for __findenv from
@ -3297,4 +3298,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3992 2005/11/12 03:28:05 dtucker Exp $
$Id: ChangeLog,v 1.3993 2005/11/12 04:20:52 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.305 2005/11/10 10:30:36 dtucker Exp $
# $Id: configure.ac,v 1.306 2005/11/12 04:20:53 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -85,7 +85,7 @@ AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>])
if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
GCC_VER=`$CC -v 2>&1 | awk '/gcc version /{print $3}'`
GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'`
case $GCC_VER in
1.*) ;;
2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;