diff --git a/aclocal.m4 b/aclocal.m4 index b9f69746a..88e8c4e8d 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -49,7 +49,7 @@ AC_DEFUN([GUILE_HEADER_LIBC_WITH_UNISTD], [ if test "$ac_cv_header_libc_h" = "no"; then guile_cv_header_libc_with_unistd="no" - elif test "$ac_cv_header_unistd.h" = "no"; then + elif test "$ac_cv_header_unistd_h" = "no"; then guile_cv_header_libc_with_unistd="yes" else AC_TRY_COMPILE(