package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
503 B
20 lines
503 B
diff --git a/build/apr_common.m4 b/build/apr_common.m4 |
|
index f4e2dfd..6f5782e 100644 |
|
--- a/build/apr_common.m4 |
|
+++ b/build/apr_common.m4 |
|
@@ -504,13 +504,9 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING], |
|
CFLAGS="$CFLAGS -Werror" |
|
fi |
|
AC_COMPILE_IFELSE( |
|
- [AC_LANG_SOURCE( |
|
- [#include "confdefs.h" |
|
- ] |
|
- [[$1]] |
|
- [int main(int argc, const char *const *argv) {] |
|
+ [AC_LANG_PROGRAM( |
|
+ [[$1]], |
|
[[$2]] |
|
- [ return 0; }] |
|
)], [CFLAGS=$apr_save_CFLAGS |
|
$3], [CFLAGS=$apr_save_CFLAGS |
|
$4])
|
|
|