Ticket #3955: mc-3955-autoconf-cleanup-ac_error-obsolete-warning.patch

File mc-3955-autoconf-cleanup-ac_error-obsolete-warning.patch, 2.6 KB (added by and, 5 years ago)
  • m4.include/mc-with-internal-edit.m4

    From 32834fb4ded7cba0a727309d74a990507272eca0 Mon Sep 17 00:00:00 2001
    From: Andreas Mohr <and@gmx.li>
    Date: Tue, 8 Jan 2019 07:34:42 +0000
    Subject: [PATCH] autoconf: Cleanup AC_ERROR obsolete warning
    
    configure.ac:437: warning: The macro `AC_ERROR' is obsolete.
    configure.ac:454: warning: The macro `AC_ERROR' is obsolete.
    
    Signed-off-by: Andreas Mohr <and@gmx.li>
    ---
     m4.include/mc-with-internal-edit.m4 | 2 +-
     m4.include/vfs/mc-vfs-sftp.m4       | 2 +-
     m4.include/vfs/mc-vfs-undelfs.m4    | 2 +-
     m4.include/vfs/socket.m4            | 2 +-
     4 files changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/m4.include/mc-with-internal-edit.m4 b/m4.include/mc-with-internal-edit.m4
    index 471886499..a801e1d68 100644
    a b AC_DEFUN([mc_WITH_INTERNAL_EDIT], [ 
    3131 
    3232    if test x$with_internal_edit != xno -a x$enable_aspell != xno; then 
    3333            AC_CHECK_HEADERS([aspell.h], [], [ 
    34                 AC_ERROR([Could not find aspell development headers]) 
     34                AC_MSG_ERROR([Could not find aspell development headers]) 
    3535            ], []) 
    3636 
    3737            if test x"$g_module_supported" != x; then 
  • m4.include/vfs/mc-vfs-sftp.m4

    diff --git a/m4.include/vfs/mc-vfs-sftp.m4 b/m4.include/vfs/mc-vfs-sftp.m4
    index c238df3ed..a8ed0192e 100644
    a b AC_DEFUN([mc_VFS_SFTP], 
    1313        else 
    1414            if test x"$enable_vfs_sftp" = x"yes"; then 
    1515                dnl user explicitly requested feature 
    16                 AC_ERROR([libssh2 >= 1.2.5 library not found]) 
     16                AC_MSG_ERROR([libssh2 >= 1.2.5 library not found]) 
    1717            fi 
    1818            enable_vfs_sftp="no" 
    1919        fi 
  • m4.include/vfs/mc-vfs-undelfs.m4

    diff --git a/m4.include/vfs/mc-vfs-undelfs.m4 b/m4.include/vfs/mc-vfs-undelfs.m4
    index 646cd9374..9b817f3e5 100644
    a b AC_DEFUN([mc_VFS_UNDELFS], 
    6868            AC_MSG_NOTICE([using ext2fs file recovery code]) 
    6969            MCLIBS="$MCLIBS $EXT2FS_UNDEL_LIBS" 
    7070        else 
    71             AC_ERROR([Ext2 libraries not found]) 
     71            AC_MSG_ERROR([Ext2 libraries not found]) 
    7272        fi 
    7373    fi 
    7474    AM_CONDITIONAL(ENABLE_VFS_UNDELFS, [test "$enable_vfs" = "yes" -a x"$enable_vfs_undelfs" = x"yes"]) 
  • m4.include/vfs/socket.m4

    diff --git a/m4.include/vfs/socket.m4 b/m4.include/vfs/socket.m4
    index 1aeafbebe..3cbfe056c 100644
    a b AC_DEFUN([AC_REQUIRE_SOCKET], 
    88#include <sys/socket.h> 
    99                       ]) 
    1010    else 
    11         AC_ERROR([Couldnt find socket functions]) 
     11        AC_MSG_ERROR([Couldnt find socket functions]) 
    1212    fi 
    1313])