release: stable minor release 1.13.1
[platform/upstream/automake.git] / m4 / obsolete-err.m4
1 #  -*- Autoconf -*-
2 # Obsolete and "removed" macros, that must however still report explicit
3 # error messages when used, to smooth transition.
4 #
5 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
6 #
7 # This file is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 dnl TODO: Remove in Automake 1.15.
12 AC_DEFUN([AM_CONFIG_HEADER],
13 [AC_FATAL(['$0': this macro is obsolete.
14     You should use the 'AC][_CONFIG_HEADERS' macro instead.])])
15
16 dnl TODO: Remove in Automake 1.15.
17 AC_DEFUN([AM_PROG_CC_STDC],
18 [AC_FATAL(['$0': this macro is obsolete.
19     You should simply use the 'AC][_PROG_CC' macro instead.
20     Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
21     but upon 'ac_cv_prog_cc_stdc'.])])
22
23 dnl TODO: Remove in Automake 1.14.
24 AC_DEFUN([AM_C_PROTOTYPES],
25          [AC_FATAL([automatic de-ANSI-fication support has been removed])])
26 AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])