1 --- a/build/apr_common.m4
2 +++ b/build/apr_common.m4
3 @@ -526,8 +526,9 @@ dnl string.
6 AC_DEFUN([APR_CHECK_STRERROR_R_RC], [
7 -AC_MSG_CHECKING(for type of return code from strerror_r)
9 +AC_CACHE_CHECK([whether return code from strerror_r has type int],
10 +[ac_cv_strerror_r_rc_int],
15 @@ -543,14 +544,10 @@ main()
17 ac_cv_strerror_r_rc_int=yes ], [
18 ac_cv_strerror_r_rc_int=no ], [
19 - ac_cv_strerror_r_rc_int=no ] )
20 + ac_cv_strerror_r_rc_int=no ] ) ] )
21 if test "x$ac_cv_strerror_r_rc_int" = xyes; then
22 AC_DEFINE(STRERROR_R_RC_INT, 1, [Define if strerror returns int])
27 -AC_MSG_RESULT([$msg])