summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-06-11 20:52:48 +0200
committerSimon Josefsson <simon@josefsson.org>2007-06-11 20:52:48 +0200
commit006bfeb36614279c209522330c5d39936cfc700b (patch)
tree57027cd3e22dcc2bd4c9ba9b90d11606763d9791
parent2f0a1bba409fed1a58ab12105bfcf5398ed1327b (diff)
downloadgnutls-006bfeb36614279c209522330c5d39936cfc700b.tar.gz
Need to use CFLAGS when checking for -Wno-pointer-sign.
Reported by "Kristofer T. Karas" <ktk@enterprise.bidmc.harvard.edu>.
-rw-r--r--THANKS1
-rw-r--r--configure.in6
2 files changed, 4 insertions, 3 deletions
diff --git a/THANKS b/THANKS
index 1f75c6d81a..5655cad388 100644
--- a/THANKS
+++ b/THANKS
@@ -72,6 +72,7 @@ Pavlov Konstantin <thresh@altlinux.ru>
Matthias Wimmer <m@tthias.eu>
Howard Chu <hyc@symas.com>
Dennis Vshivkov <walrus@amur.ru>
+Kristofer T. Karas <ktk@enterprise.bidmc.harvard.edu>
----------------------------------------------------------------------
Copying and distribution of this file, with or without modification,
diff --git a/configure.in b/configure.in
index f83eaa47a3..df0050c3c6 100644
--- a/configure.in
+++ b/configure.in
@@ -200,12 +200,12 @@ if test $ac_cv_c_compiler_gnu != no; then
fi
AC_MSG_CHECKING([if gcc supports -Wno-pointer-sign])
- _gcc_cflags_save=$AM_CFLAGS
- AM_CFLAGS="${AM_CFLAGS} -Wno-pointer-sign"
+ _gcc_cflags_save=$CFLAGS
+ CFLAGS="${CFLAGS} -Wno-pointer-sign"
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),_gcc_psign=yes,_gcc_psign=no)
AC_MSG_RESULT($_gcc_psign)
if test x"$_gcc_psign" != xyes ; then
- AM_CFLAGS=$_gcc_cflags_save;
+ CFLAGS=$_gcc_cflags_save;
fi
AC_MSG_CHECKING([if gcc/ld supports -Wl,--output-def])