mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/report.c: New file. * src/report.h: Likewise. * src/Makefile.am: Adjust. * m4/error.m4: New file. * m4/Makefile.am: Adjust. * configure.in (jm_PREREQ_ERROR): Call it. * src/main.c (int_to_string, banner, fatal_banner, warn_banner): Remove. (fatal, fatals): Remove. All callers use complain.c::fatal. (warn, warni, warns, warnss, warnss): Remove. All callers use complain.c::complain. (toomany): Remove, use fatal instead. * src/files.c (done): No argument, use complain_message_count. * src/main.c (main): Register `done' to `atexit'. * src/getargs.c (usage): More `fputs', less `fprintf'.
12 lines
305 B
Plaintext
12 lines
305 B
Plaintext
#serial 1
|
|
|
|
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
|
dnl directory -- otherwise, they'll conflict with existing files.
|
|
|
|
dnl These are the prerequisite macros for GNU's error.c file.
|
|
AC_DEFUN(jm_PREREQ_ERROR,
|
|
[
|
|
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
|
|
AC_HEADER_STDC
|
|
])
|