1 --- a/libs/apr-util/build/apr_common.m4
2 +++ b/libs/apr-util/build/apr_common.m4
3 @@ -514,8 +514,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 @@ -534,14 +535,10 @@ int main(void)
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])
31 --- a/libs/apr/build/apr_common.m4
32 +++ b/libs/apr/build/apr_common.m4
33 @@ -514,8 +514,9 @@ dnl string.
36 AC_DEFUN([APR_CHECK_STRERROR_R_RC],[
37 -AC_MSG_CHECKING(for type of return code from strerror_r)
39 +AC_CACHE_CHECK([whether return code from strerror_r has type int],
40 +[ac_cv_strerror_r_rc_int],
45 @@ -534,14 +535,10 @@ int main(void)
47 ac_cv_strerror_r_rc_int=yes ], [
48 ac_cv_strerror_r_rc_int=no ], [
49 - ac_cv_strerror_r_rc_int=no ] )
50 + ac_cv_strerror_r_rc_int=no ] ) ] )
51 if test "x$ac_cv_strerror_r_rc_int" = xyes; then
52 AC_DEFINE(STRERROR_R_RC_INT, 1, [Define if strerror returns int])
57 -AC_MSG_RESULT([$msg])
61 --- a/libs/unimrcp/build/acmacros/apr_common.m4
62 +++ b/libs/unimrcp/build/acmacros/apr_common.m4
63 @@ -526,8 +526,9 @@ dnl string.
66 AC_DEFUN([APR_CHECK_STRERROR_R_RC], [
67 -AC_MSG_CHECKING(for type of return code from strerror_r)
69 +AC_CACHE_CHECK([whether return code from strerror_r has type int],
70 +[ac_cv_strerror_r_rc_int],
75 @@ -543,14 +544,10 @@ main()
77 ac_cv_strerror_r_rc_int=yes ], [
78 ac_cv_strerror_r_rc_int=no ], [
79 - ac_cv_strerror_r_rc_int=no ] )
80 + ac_cv_strerror_r_rc_int=no ] ) ] )
81 if test "x$ac_cv_strerror_r_rc_int" = xyes; then
82 AC_DEFINE(STRERROR_R_RC_INT, 1, [Define if strerror returns int])
87 -AC_MSG_RESULT([$msg])