obsolete.m4 1008 B

12345678910111213141516171819202122232425262728
  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-2017 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. AC_DEFUN([AM_CONFIG_HEADER],
  11. [AC_DIAGNOSE([obsolete],
  12. ['$0': this macro is obsolete.
  13. You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  14. AC_CONFIG_HEADERS($@)])
  15. AC_DEFUN([AM_PROG_CC_STDC],
  16. [AC_PROG_CC
  17. am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  18. AC_DIAGNOSE([obsolete],
  19. ['$0': this macro is obsolete.
  20. You should simply use the 'AC][_PROG_CC' macro instead.
  21. Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  22. but upon 'ac_cv_prog_cc_stdc'.])])
  23. AC_DEFUN([AM_C_PROTOTYPES],
  24. [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  25. AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])