Edit

kc3-lang/automake/m4/ccstdc.m4

Branch :

  • Show log

    Commit

  • Author : Alexandre Duret-Lutz
    Date : 2002-12-05 09:02:30
    Hash : 90ab8591
    Message : * m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward compatibility and diagnose the use of AM_PROG_CC_STDC. * automake.texi (Public macros) <AM_PROG_CC_STDC>: Remove documentation, this macro is no longer supported. Reported by Kevin Ryde.

  • m4/ccstdc.m4
  • ## ----------------------------------------- ##            -*- Autoconf -*-
    ## ANSIfy the C compiler whenever possible.  ##
    ## From Franc,ois Pinard                     ##
    ## ----------------------------------------- ##
    
    # Copyright 1996, 1997, 1999, 2000, 2001, 2002  Free Software Foundation, Inc.
    
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2, or (at your option)
    # any later version.
    
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    # 02111-1307, USA.
    
    # serial 3
    
    # This was merged into AC_PROG_CC in Autoconf.
    
    AU_DEFUN([AM_PROG_CC_STDC],
    [AC_PROG_CC
    AC_DIAGNOSE([obsolete], [$0:
            your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
            `ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when
            you adjust the code.  You can also remove the above call to
    	AC_PROG_CC if you already called it elsewhere.])
    am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
    ])
    AU_DEFUN([fp_PROG_CC_STDC])