Hook error() and error_at_line() if available.

They are used by some GNU programs to display error messages.
This commit is contained in:
Simon Ruderich
2013-06-05 23:57:05 +02:00
parent b140cc0a82
commit 7f9856c5da
7 changed files with 156 additions and 1 deletions

View File

@@ -4,8 +4,14 @@ example_SOURCES = example.c
example_exec_SOURCES = example_exec.c
example_vfork_SOURCES = example_vfork.c
if HAVE_ERROR_H
check_PROGRAMS += example_error
example_error_SOURCES = example_error.c
endif
dist_check_SCRIPTS = run.sh lib.sh
dist_check_DATA = example.expected \
example_error.expected \
example_exec.expected \
example_vfork.expected \
example-noforce.sh \