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