- (tim) [configure.ac ] Not all gcc's support -Wsign-compare
This commit is contained in:
parent
114572f7ee
commit
3db1e3fc68
|
@ -2,6 +2,7 @@
|
|||
- (dtucker) [regress/test-exec.sh] Do not prepend an extra "/" to a fully-
|
||||
qualified sshd pathname since some systems (eg Cygwin) may consider "/foo"
|
||||
and "//foo" to be different. Spotted by vinschen at redhat.com.
|
||||
- (tim) [configure.ac ] Not all gcc's support -Wsign-compare
|
||||
|
||||
20050821
|
||||
- (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for
|
||||
|
@ -2950,4 +2951,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.3876 2005/08/23 13:32:05 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.3877 2005/08/24 00:11:26 tim Exp $
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.ac,v 1.287 2005/08/22 22:06:56 dtucker Exp $
|
||||
# $Id: configure.ac,v 1.288 2005/08/24 00:11:26 tim Exp $
|
||||
#
|
||||
# Copyright (c) 1999-2004 Damien Miller
|
||||
#
|
||||
|
@ -82,7 +82,13 @@ 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"
|
||||
CFLAGS="$CFLAGS -Wsign-compare"
|
||||
GCC_VER=`$CC --version`
|
||||
case $GCC_VER in
|
||||
1.*) ;;
|
||||
2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
|
||||
2.*) ;;
|
||||
*) CFLAGS="$CFLAGS -Wsign-compare" ;;
|
||||
esac
|
||||
|
||||
if test -z "$have_llong_max"; then
|
||||
# retry LLONG_MAX with -std=gnu99, needed on some Linuxes
|
||||
|
|
Loading…
Reference in New Issue