Fix. AC_CHECK_DECLS always defines HAVE_DECL_*.

This commit is contained in:
Steve Checkoway
2006-01-12 09:36:02 +00:00
parent 5ce90c8e01
commit 07c6998820
3 changed files with 7 additions and 5 deletions
@@ -238,10 +238,10 @@ const char *SignalName( int signo )
X(SIGQUIT)
case SIGSEGV: return "Segmentation fault";
X(SIGTRAP) X(SIGTERM) X(SIGVTALRM) X(SIGXCPU) X(SIGXFSZ)
#if defined(HAVE_DECL_SIGPWR)
#if defined(HAVE_DECL_SIGPWR) && HAVE_DECL_SIGPWR
X(SIGPWR)
#endif
#if defined(HAVE_DECL_SIGUSR1)
#if defined(HAVE_DECL_SIGUSR1) && HAVE_DECL_SIGUSR1
case SIGUSR1: return "Forced crash";
#endif
default: