mirror of https://github.com/MidnightCommander/mc
autoconf: AC_ERROR is obsolete, use AC_MSG_ERROR instead.
Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7fb06b3105
commit
8e12753bfc
|
@ -31,7 +31,7 @@ AC_DEFUN([mc_WITH_INTERNAL_EDIT], [
|
||||||
|
|
||||||
if test x$with_internal_edit != xno -a x$enable_aspell != xno; then
|
if test x$with_internal_edit != xno -a x$enable_aspell != xno; then
|
||||||
AC_CHECK_HEADERS([aspell.h], [], [
|
AC_CHECK_HEADERS([aspell.h], [], [
|
||||||
AC_ERROR([Could not find aspell development headers])
|
AC_MSG_ERROR([Could not find aspell development headers])
|
||||||
], [])
|
], [])
|
||||||
|
|
||||||
if test x"$g_module_supported" != x; then
|
if test x"$g_module_supported" != x; then
|
||||||
|
|
|
@ -13,7 +13,7 @@ AC_DEFUN([mc_VFS_SFTP],
|
||||||
else
|
else
|
||||||
if test x"$enable_vfs_sftp" = x"yes"; then
|
if test x"$enable_vfs_sftp" = x"yes"; then
|
||||||
dnl user explicitly requested feature
|
dnl user explicitly requested feature
|
||||||
AC_ERROR([libssh2 >= 1.2.5 library not found])
|
AC_MSG_ERROR([libssh2 >= 1.2.5 library not found])
|
||||||
fi
|
fi
|
||||||
enable_vfs_sftp="no"
|
enable_vfs_sftp="no"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -68,7 +68,7 @@ AC_DEFUN([mc_VFS_UNDELFS],
|
||||||
AC_MSG_NOTICE([using ext2fs file recovery code])
|
AC_MSG_NOTICE([using ext2fs file recovery code])
|
||||||
MCLIBS="$MCLIBS $EXT2FS_UNDEL_LIBS"
|
MCLIBS="$MCLIBS $EXT2FS_UNDEL_LIBS"
|
||||||
else
|
else
|
||||||
AC_ERROR([Ext2 libraries not found])
|
AC_MSG_ERROR([Ext2 libraries not found])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(ENABLE_VFS_UNDELFS, [test "$enable_vfs" = "yes" -a x"$enable_vfs_undelfs" = x"yes"])
|
AM_CONDITIONAL(ENABLE_VFS_UNDELFS, [test "$enable_vfs" = "yes" -a x"$enable_vfs_undelfs" = x"yes"])
|
||||||
|
|
|
@ -8,6 +8,6 @@ AC_DEFUN([AC_REQUIRE_SOCKET],
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
])
|
])
|
||||||
else
|
else
|
||||||
AC_ERROR([Couldnt find socket functions])
|
AC_MSG_ERROR([Couldnt find socket functions])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue