diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-12 15:20:52 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-12 15:20:52 +1100 |
commit | 3f9545ee67d66cad8cf40c3afbccc71d59b062da (patch) | |
tree | ef2403ce29eb377f2a3506028c1d2ef715c71174 | |
parent | 5a0bdf770cd3df4c39f832b997c223a3e7df1fd2 (diff) |
- (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -2,6 +2,7 @@ | |||
2 | - (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specific | 2 | - (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specific |
3 | ifdef lost during sync. Spotted by tim@. | 3 | ifdef lost during sync. Spotted by tim@. |
4 | - (dtucker) [openbsd-compat/{realpath.c,stroll.c,rresvport.c}] $OpenBSD tag. | 4 | - (dtucker) [openbsd-compat/{realpath.c,stroll.c,rresvport.c}] $OpenBSD tag. |
5 | - (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test. | ||
5 | 6 | ||
6 | 20051110 | 7 | 20051110 |
7 | - (dtucker) [openbsd-compat/setenv.c] Merge changes for __findenv from | 8 | - (dtucker) [openbsd-compat/setenv.c] Merge changes for __findenv from |
@@ -3297,4 +3298,4 @@ | |||
3297 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3298 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3298 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3299 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3299 | 3300 | ||
3300 | $Id: ChangeLog,v 1.3992 2005/11/12 03:28:05 dtucker Exp $ | 3301 | $Id: ChangeLog,v 1.3993 2005/11/12 04:20:52 dtucker Exp $ |
diff --git a/configure.ac b/configure.ac index aee387190..89f19a513 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.305 2005/11/10 10:30:36 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.306 2005/11/12 04:20:53 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -85,7 +85,7 @@ AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>]) | |||
85 | 85 | ||
86 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 86 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
87 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" | 87 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
88 | GCC_VER=`$CC -v 2>&1 | awk '/gcc version /{print $3}'` | 88 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` |
89 | case $GCC_VER in | 89 | case $GCC_VER in |
90 | 1.*) ;; | 90 | 1.*) ;; |
91 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; | 91 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; |