Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node.
[automake/ericb.git] / m4 / ccstdc.m4
blobec1541ea8e0af8ef69d726dbfc11ec4611c7b535
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, 2005
7 # Free Software Foundation, Inc.
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.
13 # serial 4
15 # This was merged into AC_PROG_CC in Autoconf.
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
26 AU_DEFUN([fp_PROG_CC_STDC])