apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1125472 - /apr/apr/trunk/build/apr_common.m4
Date Fri, 20 May 2011 17:14:54 GMT
Author: rjung
Date: Fri May 20 17:14:53 2011
New Revision: 1125472

URL: http://svn.apache.org/viewvc?rev=1125472&view=rev
Log:
Silence autoconf 2.68 warnings.

Add AC_LANG_SOURCE to AC_COMPILE_IFELSE
in apr_common.m4.

Modified:
    apr/apr/trunk/build/apr_common.m4

Modified: apr/apr/trunk/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_common.m4?rev=1125472&r1=1125471&r2=1125472&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_common.m4 (original)
+++ apr/apr/trunk/build/apr_common.m4 Fri May 20 17:14:53 2011
@@ -500,12 +500,14 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING],
    CFLAGS="$CFLAGS -Werror"
  fi
  AC_COMPILE_IFELSE(
-  [#include "confdefs.h"
-  ]
-  [[$1]]
-  [int main(int argc, const char *const *argv) {]
-  [[$2]]
-  [   return 0; }],
+  [AC_LANG_SOURCE(
+   [#include "confdefs.h"
+   ]
+   [[$1]]
+   [int main(int argc, const char *const *argv) {]
+   [[$2]]
+   [   return 0; }]
+  )],
   [$3], [$4])
  CFLAGS=$apr_save_CFLAGS
 ])



Mime
View raw message