trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1235814 - in /trafficserver/traffic/trunk: CHANGES build/common.m4
Date Wed, 25 Jan 2012 16:33:03 GMT
Author: zwoop
Date: Wed Jan 25 16:33:03 2012
New Revision: 1235814

URL: http://svn.apache.org/viewvc?rev=1235814&view=rev
Log:
TS-1091 CFLAGS=-w` causes configure script to wrongly guess style of
`gethostbyname_r` on BSD flavors. Author: Marc Abramowitz.

Modified:
    trafficserver/traffic/trunk/CHANGES
    trafficserver/traffic/trunk/build/common.m4

Modified: trafficserver/traffic/trunk/CHANGES
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/CHANGES?rev=1235814&r1=1235813&r2=1235814&view=diff
==============================================================================
--- trafficserver/traffic/trunk/CHANGES (original)
+++ trafficserver/traffic/trunk/CHANGES Wed Jan 25 16:33:03 2012
@@ -1,5 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.1.2
+  *) [TS-1091] CFLAGS=-w` causes configure script to wrongly guess style of
+   `gethostbyname_r` on BSD flavors. Author: Marc Abramowitz.
+
   *) [TS-1073] no_dns_just_forward_to_parent configuration parameter is
    ignored/not used. Author: Kevin Giles.
 

Modified: trafficserver/traffic/trunk/build/common.m4
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/build/common.m4?rev=1235814&r1=1235813&r2=1235814&view=diff
==============================================================================
--- trafficserver/traffic/trunk/build/common.m4 (original)
+++ trafficserver/traffic/trunk/build/common.m4 Wed Jan 25 16:33:03 2012
@@ -177,6 +177,7 @@ AC_DEFUN([TS_TRY_COMPILE_NO_WARNING],
  if test "$ac_cv_prog_gcc" = "yes"; then
    CFLAGS="$CFLAGS -Werror"
  fi
+ CFLAGS=$(echo $CFLAGS | sed -e 's/^-w$//' -e 's/^-w //' -e 's/ -w$//' -e 's/ -w / /')
  AC_COMPILE_IFELSE([AC_LANG_SOURCE([
   [#include "confdefs.h"
   ]



Mime
View raw message