summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac10
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d6982ff4..dd64f1374 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
2 - (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully- 2 - (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully-
3 qualified sshd pathname since some systems (eg Cygwin) may consider "/foo" 3 qualified sshd pathname since some systems (eg Cygwin) may consider "/foo"
4 and "//foo" to be different. Spotted by vinschen at redhat.com. 4 and "//foo" to be different. Spotted by vinschen at redhat.com.
5 - (tim) [configure.ac ] Not all gcc's support -Wsign-compare
5 6
620050821 720050821
7 - (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for 8 - (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for
@@ -2950,4 +2951,4 @@
2950 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2951 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2951 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2952 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2952 2953
2953$Id: ChangeLog,v 1.3876 2005/08/23 13:32:05 dtucker Exp $ 2954$Id: ChangeLog,v 1.3877 2005/08/24 00:11:26 tim Exp $
diff --git a/configure.ac b/configure.ac
index 619a4e76a..f1588c693 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.287 2005/08/22 22:06:56 dtucker Exp $ 1# $Id: configure.ac,v 1.288 2005/08/24 00:11:26 tim Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -82,7 +82,13 @@ AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>])
82 82
83if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 83if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
84 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" 84 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
85 CFLAGS="$CFLAGS -Wsign-compare" 85 GCC_VER=`$CC --version`
86 case $GCC_VER in
87 1.*) ;;
88 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
89 2.*) ;;
90 *) CFLAGS="$CFLAGS -Wsign-compare" ;;
91 esac
86 92
87 if test -z "$have_llong_max"; then 93 if test -z "$have_llong_max"; then
88 # retry LLONG_MAX with -std=gnu99, needed on some Linuxes 94 # retry LLONG_MAX with -std=gnu99, needed on some Linuxes