ec1541ea8e0af8ef69d726dbfc11ec4611c7b535
[platform/upstream/automake.git] / m4 / ccstdc.m4
1 ## ----------------------------------------- ##             -*- Autoconf -*-
2 ## ANSIfy the C compiler whenever possible.  ##
3 ## From Franc,ois Pinard                     ##
4 ## ----------------------------------------- ##
5
6 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
7 # Free Software Foundation, Inc.
8 #
9 # This file is free software; the Free Software Foundation
10 # gives unlimited permission to copy and/or distribute it,
11 # with or without modifications, as long as this notice is preserved.
12
13 # serial 4
14
15 # This was merged into AC_PROG_CC in Autoconf.
16
17 AU_DEFUN([AM_PROG_CC_STDC],
18 [AC_PROG_CC
19 AC_DIAGNOSE([obsolete], [$0:
20         your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
21         `ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when
22         you adjust the code.  You can also remove the above call to
23         AC_PROG_CC if you already called it elsewhere.])
24 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
25 ])
26 AU_DEFUN([fp_PROG_CC_STDC])