Get rid of obsolete form of AC_CHECK_TYPE macro.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-05-25 18:19:39 +04:00
parent 3778c95904
commit ad9f03da69
2 changed files with 5 additions and 3 deletions

View File

@ -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 <sys/types.h> does not define.])])
AC_CHECK_TYPES([socklen_t],,,
[
#include <sys/types.h>

View File

@ -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 <errno.h>