summaryrefslogtreecommitdiff
path: root/libquadmath/configure
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-14 16:40:38 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-14 16:40:38 +0000
commit1e95c98edd8912b6ddaeb914fa314136ef81f7a4 (patch)
tree8dbb50667125c09a4288e902cc875bf0f2d88bc7 /libquadmath/configure
parentecd1128f5b9ff2e748b2aa54db917c800a7b1ee6 (diff)
downloadgcc-1e95c98edd8912b6ddaeb914fa314136ef81f7a4.tar.gz
* configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
* printf/printf_fp.c: Don't include <alloca.h>. * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/configure')
-rwxr-xr-xlibquadmath/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/libquadmath/configure b/libquadmath/configure
index fa825ce8cc6..fa209a6d254 100755
--- a/libquadmath/configure
+++ b/libquadmath/configure
@@ -12294,6 +12294,8 @@ $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
fi
# Check for hidden visibility (copied from libssp).
+saved_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -Werror"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
$as_echo_n "checking whether hidden visibility is supported... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12321,6 +12323,7 @@ if test x$quadmath_hidden = xyes; then
$as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
fi
+CFLAGS="$saved_CFLAGS"
# Check for symbol versioning (copied from libssp).
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5