release: stable release 1.12.3
[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-2012 Free Software Foundation, Inc.
7 #
8 # This file is free software; the Free Software Foundation
9 # gives unlimited permission to copy and/or distribute it,
10 # with or without modifications, as long as this notice is preserved.
11
12 # This was merged into AC_PROG_CC in Autoconf.
13
14 AU_DEFUN([AM_PROG_CC_STDC],
15 [AC_PROG_CC
16 AC_DIAGNOSE([obsolete], [$0:
17         your code should no longer depend upon 'am_cv_prog_cc_stdc', but upon
18         'ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when
19         you adjust the code.  You can also remove the above call to
20         AC_PROG_CC if you already called it elsewhere.])
21 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
22 ])
23 AU_DEFUN([fp_PROG_CC_STDC])