Ticket #4270: mc-4270-replace-obsolete-ac_prog_cc_stdc.patch

File mc-4270-replace-obsolete-ac_prog_cc_stdc.patch, 859 bytes (added by and, 12 months ago)
  • configure.ac

    From ad4d6a1820a513c37e678325a807d5c6a6627c9b Mon Sep 17 00:00:00 2001
    From: Andreas Mohr <and@gmx.li>
    Date: Wed, 22 Dec 2021 19:12:03 +0000
    Subject: [PATCH] (configure.ac) replace obsolete AC_PROG_CC_STDC macro
    
    Since release 2.70 of GNU Autoconf
    
    > *** AC_PROG_CC_STDC, AC_PROG_CC_C89, AC_PROG_CC_C99 are now obsolete.
    >  Applications should use AC_PROG_CC.
    
    Signed-off-by: Andreas Mohr <and@gmx.li>
    ---
     configure.ac | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/configure.ac b/configure.ac
    index 4f0fb9723..044f04d56 100644
    a b dnl ############################################################################ 
    3636dnl Check for compiler 
    3737dnl ############################################################################ 
    3838 
    39 AC_PROG_CC_STDC 
     39AC_PROG_CC 
    4040AM_PROG_CC_C_O 
    4141 
    4242mc_CHECK_CFLAGS