diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-18 13:39:38 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-19 11:05:57 +0100 |
commit | 18cb8eb2a52df73618b8484948b1040b770d4f0f (patch) | |
tree | 0d204c2fbebaac82d87ecf82dce7e22a613fa6ba /m4/obsolete.m4 | |
parent | 4d32ebdd74545bd0cd729c9aaabe3a8c2e992feb (diff) | |
download | automake-18cb8eb2a52df73618b8484948b1040b770d4f0f.tar.gz |
m4: rename an m4 file to a more appropriate name
* m4/obsolete-err.m4: Rename ...
* m4/obsolete.m4: ... like this.
* Makefile.am (dist_automake_ac_DATA): Adjust.
* t/ansi2knr-no-more.sh: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'm4/obsolete.m4')
-rw-r--r-- | m4/obsolete.m4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/m4/obsolete.m4 b/m4/obsolete.m4 new file mode 100644 index 000000000..f7ec1dbcd --- /dev/null +++ b/m4/obsolete.m4 @@ -0,0 +1,28 @@ +# -*- Autoconf -*- +# Obsolete and "removed" macros, that must however still report explicit +# error messages when used, to smooth transition. +# +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +AC_DEFUN([AM_CONFIG_HEADER], +[AC_DIAGNOSE([obsolete], +['$0': this macro is obsolete. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl +AC_CONFIG_HEADERS($@)]) + +AC_DEFUN([AM_PROG_CC_STDC], +[AC_PROG_CC +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc +AC_DIAGNOSE([obsolete], +['$0': this macro is obsolete. +You should simply use the 'AC][_PROG_CC' macro instead. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', +but upon 'ac_cv_prog_cc_stdc'.])]) + +AC_DEFUN([AM_C_PROTOTYPES], + [AC_FATAL([automatic de-ANSI-fication support has been removed])]) +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) |