Commit d4116867 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Check for __attribute__((__noreturn__)) support at configuration time

instead of at compile time.  (Bug 57).
parent 3633602e
2001-12-28 Per Cederqvist <ceder@moria>
Check for __attribute__((__noreturn__)) support at configuration
time instead of at compile time. (Bug 57).
* src/include/compiler.h: Removed.
* src/include/Makefile.am (noinst_HEADERS): Removed compiler.h.
* configure.in: Check for __attribute__((__noreturn__)).
* acconfig.h (HAVE_ATTRIBUTE_NORETURN): Added.
* src/server/lyskomd.h: Don't include compiler.h. Use
HAVE_ATTRIBUTE_NORETURN instead of the NORETURN symbol, that
previously was defined by compiler.h.
Don't include config.h twice.
* src/libraries/libcommon/kom-errno.c: Don't include both
<config.h> and "config.h".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment