From b9d71ce3e4860dd7ae12039eaa05c9731b12a095 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 4 Jun 2004 10:20:22 -0700 Subject: configure.in (LIBMUDFLAPTH): Fix thinko. * configure.in (LIBMUDFLAPTH): Fix thinko. * configure.in: Check for more headers. * mf-hooks2.c: Conditionalize on HAVE_SYS_SOCKET_H etc. * mf-runtime.c: In two places conditionalize on SIUSR1 rather than HAVE_SIGNAL as mingw has signal.h but not SIUSR1. From-SVN: r82627 --- libmudflap/mf-runtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmudflap/mf-runtime.c') diff --git a/libmudflap/mf-runtime.c b/libmudflap/mf-runtime.c index 8d5ed8c..7189036 100644 --- a/libmudflap/mf-runtime.c +++ b/libmudflap/mf-runtime.c @@ -296,7 +296,7 @@ options [] = {"collect-stats", "collect statistics on mudflap's operation", set_option, 1, &__mf_opts.collect_stats}, -#if HAVE_SIGNAL +#ifdef SIGUSR1 {"sigusr1-report", "print report upon SIGUSR1", set_option, 1, &__mf_opts.sigusr1_report}, @@ -2354,7 +2354,7 @@ __mf_sigusr1_respond () { static int handler_installed; -#if HAVE_SIGNAL +#ifdef SIGUSR1 /* Manage handler */ if (__mf_opts.sigusr1_report && ! handler_installed) { -- cgit v1.1