Commit 8b7d3aed authored by Mark Andrews's avatar Mark Andrews

2885. [bug] Improve -fno-strict-aliasing support probing in

                        configure. [RT #21080]
parent 7f87e0c4
2885. [bug] Improve -fno-strict-aliasing support probing in
configure. [RT #21080]
2884. [bug] Insufficient valadation in dns_name_getlabelsequence(). 2884. [bug] Insufficient valadation in dns_name_getlabelsequence().
[RT #21283] [RT #21283]
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: config.h.in,v 1.123 2010/03/18 13:30:36 marka Exp $ */ /* $Id: config.h.in,v 1.124 2010/05/12 08:25:21 marka Exp $ */
/*! \file */ /*! \file */
...@@ -349,9 +349,13 @@ int sigwait(const unsigned int *set, int *sig); ...@@ -349,9 +349,13 @@ int sigwait(const unsigned int *set, int *sig);
/* define if idnkit support is to be included. */ /* define if idnkit support is to be included. */
#undef WITH_IDN #undef WITH_IDN
/* Define to 1 if your processor stores words with the most significant byte /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
first (like Motorola and SPARC, unlike Intel and VAX). */ significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN #if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
#elif ! defined __LITTLE_ENDIAN__
# undef WORDS_BIGENDIAN
#endif
/* Define to empty if `const' does not conform to ANSI C. */ /* Define to empty if `const' does not conform to ANSI C. */
#undef const #undef const
......
This diff is collapsed.
...@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl ...@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.491 $) AC_REVISION($Revision: 1.492 $)
AC_INIT(lib/dns/name.c) AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59) AC_PREREQ(2.59)
...@@ -1162,7 +1162,7 @@ IRIX_DNSSEC_WARNINGS_HACK="" ...@@ -1162,7 +1162,7 @@ IRIX_DNSSEC_WARNINGS_HACK=""
if test "X$GCC" = "Xyes"; then if test "X$GCC" = "Xyes"; then
AC_MSG_CHECKING(if "$CC" supports -fno-strict-aliasing) AC_MSG_CHECKING(if "$CC" supports -fno-strict-aliasing)
SAVE_CFLAGS=$CFLAGS SAVE_CFLAGS=$CFLAGS
CFLAGS=-fno-strict-aliasing CFLAGS="$CFLAGS -fno-strict-aliasing"
AC_TRY_COMPILE(,, [FNOSTRICTALIASING=yes],[FNOSTRICTALIASING=no]) AC_TRY_COMPILE(,, [FNOSTRICTALIASING=yes],[FNOSTRICTALIASING=no])
CFLAGS=$SAVE_CFLAGS CFLAGS=$SAVE_CFLAGS
if test "$FNOSTRICTALIASING" = "yes"; then if test "$FNOSTRICTALIASING" = "yes"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment