diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-06-11 20:52:48 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-06-11 20:52:48 +0200 |
commit | 006bfeb36614279c209522330c5d39936cfc700b (patch) | |
tree | 57027cd3e22dcc2bd4c9ba9b90d11606763d9791 | |
parent | 2f0a1bba409fed1a58ab12105bfcf5398ed1327b (diff) | |
download | gnutls-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-- | THANKS | 1 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -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]) |