mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Get rid of obsolete form of AC_CHECK_TYPE macro.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3778c95904
commit
ad9f03da69
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user