diff --git a/m4.include/mc-vfs.m4 b/m4.include/mc-vfs.m4 index 1e1a0777c..7d7325958 100644 --- a/m4.include/mc-vfs.m4 +++ b/m4.include/mc-vfs.m4 @@ -32,7 +32,9 @@ AC_DEFUN([MC_ENABLE_VFS_NET], dnl FIXME: network checks should probably be in their own macro. AC_REQUIRE_SOCKET if test x"$have_socket" = xyes; then - AC_CHECK_TYPE(nlink_t, unsigned int) + AC_CHECK_TYPE([nlink_t], , + [AC_DEFINE_UNQUOTED([nlink_t], [unsigned int], + [Define to `unsigned int' if does not define.])]) AC_CHECK_TYPES([socklen_t],,, [ #include diff --git a/m4.include/vfs/mc-vfs-undelfs.m4 b/m4.include/vfs/mc-vfs-undelfs.m4 index a65d20d05..43f12ee90 100644 --- a/m4.include/vfs/mc-vfs-undelfs.m4 +++ b/m4.include/vfs/mc-vfs-undelfs.m4 @@ -22,8 +22,8 @@ AC_DEFUN([MC_UNDELFS_CHECKS], [ if test x"$ext2fs_ext2fs_h" = xyes; then ext2fs_undel=yes EXT2FS_UNDEL_LIBS="-lext2fs -lcom_err" - AC_CHECK_TYPE(ext2_ino_t, , - [AC_DEFINE(ext2_ino_t, ino_t, + AC_CHECK_TYPE([ext2_ino_t], , + [AC_DEFINE_UNQUOTED([ext2_ino_t], [ino_t], [Define to ino_t if undefined.])], [ #include