diff --git a/ChangeLog b/ChangeLog index cc1e2de..6ca8c78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-08-27 Bruno Haible + + * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling. + 2005-08-16 Richard B. Kreckel The patch of 2005-05-01 made it impossible to test the type of a cl_UP diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4 index 8f92295..3d2e018 100644 --- a/autoconf/aclocal.m4 +++ b/autoconf/aclocal.m4 @@ -812,7 +812,7 @@ cl_cv_func_getrusage_works=no, dnl When cross-compiling, don't assume anything. cl_cv_func_getrusage_works="guessing no")]) fi - if test $cl_cv_func_getrusage_works = yes; then + if test "$cl_cv_func_getrusage_works" = yes; then AC_DEFINE(HAVE_GETRUSAGE,,[have , the getrusage() function, the struct rusage type, and defines RUSAGE_SELF]) AC_DEFINE_UNQUOTED(RUSAGE_WHO_T,$cl_cv_proto_getrusage_arg1,[type of `who' in getrusage() declaration]) fi