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.
22 lines
485 B
22 lines
485 B
diff --git a/build/apr_common.m4 b/build/apr_common.m4
|
|
index ac2312c..5d232c4 100644
|
|
--- a/build/apr_common.m4
|
|
+++ b/build/apr_common.m4
|
|
@@ -468,15 +468,8 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING],
|
|
fi
|
|
AC_COMPILE_IFELSE(
|
|
[AC_LANG_SOURCE(
|
|
- [
|
|
-#ifndef PACKAGE_NAME
|
|
-#include "confdefs.h"
|
|
-#endif
|
|
- ]
|
|
- [[$1]]
|
|
- [int main(int argc, const char *const *argv) {]
|
|
+ [[$1]],
|
|
[[$2]]
|
|
- [ return 0; }]
|
|
)], [CFLAGS=$apr_save_CFLAGS
|
|
$3], [CFLAGS=$apr_save_CFLAGS
|
|
$4])
|