trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1052065 - /trafficserver/traffic/trunk/build/common.m4
Date Wed, 22 Dec 2010 21:00:11 GMT
Author: ericb
Date: Wed Dec 22 21:00:11 2010
New Revision: 1052065

URL: http://svn.apache.org/viewvc?rev=1052065&view=rev
Log:
fix autoconf warnings

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

Modified: trafficserver/traffic/trunk/build/common.m4
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/build/common.m4?rev=1052065&r1=1052064&r2=1052065&view=diff
==============================================================================
--- trafficserver/traffic/trunk/build/common.m4 (original)
+++ trafficserver/traffic/trunk/build/common.m4 Wed Dec 22 21:00:11 2010
@@ -177,14 +177,14 @@ AC_DEFUN([TS_TRY_COMPILE_NO_WARNING],
  if test "$ac_cv_prog_gcc" = "yes"; then
    CFLAGS="$CFLAGS -Werror"
  fi
- AC_COMPILE_IFELSE(
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE(
   [#include "confdefs.h"
   ]
   [[$1]]
   [int main(int argc, const char *const *argv) {]
   [[$2]]
   [   return 0; }],
-  [$3], [$4])
+  [$3], [$4])])
  CFLAGS=$ats_save_CFLAGS
 ])
 



Mime
View raw message