[srm-cvs] CVS Update: - Adding in Marko Karppinen's fix for OSX support

From: <kalowsky[@]php.net>
Date: Sun Dec 01 2002 - 03:37:51 CET

Date: Sun Dec 1 03:37:50 CET 2002
User: Dan Kalowsky
Directory: srm/main

Log Message:
 [0.01]
 - Adding in Marko Karppinen's fix for OSX support
 
Modified files:
           srm/configure.in (version: 1.57)
           srm/main/main.c (version: 1.63)

[FILE: /srm/configure.in]

--- srm/configure.in:1.56 Sun Jul 07 01:57:44 2002 GMT
+++ srm/configure.in Sun Dec 01 01:37:47 2002 GMT
@@ -1,4 +1,4 @@
-dnl $Id: cvstemp,v 1.56 2002/07/07 03:57:44 sniper Exp $
+dnl $Id: cvstemp,v 1.57 2002/12/01 02:37:47 kalowsky Exp $
 dnl
 dnl Process this file with autoconf to produce a configure script.
 dnl
@@ -117,7 +117,7 @@
 AC_CHECK_LIB(nsl, gethostbyname)
 AC_CHECK_LIB(socket, socket)
 
-AC_CHECK_FUNCS(strerror strtol strtoul)
+AC_CHECK_FUNCS(strerror strtol strtoul sigwait)
 
 sinclude(build/threads.m4)
 PTHREADS_CHECK

[FILE: /srm/main/main.c]

--- srm/main/main.c:1.62 Wed Nov 06 02:20:59 2002 GMT
+++ srm/main/main.c Sun Dec 01 01:37:50 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.62 2002/11/06 03:20:59 kalowsky Exp $ */
+/* $Id: cvstemp,v 1.63 2002/12/01 02:37:50 kalowsky Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -155,8 +155,8 @@
 
         while (!srm_shutdown) {
                 sigfillset (&signal_set);
-#if !defined(SRM_MACOSX)
-/* as of MacOSX 10.0 - 10.1 there is no sigwait */
+#ifndef HAVE_SIGWAIT
+/* Mac OS X 10.0 - 10.1 there is no sigwait */
                 sigwait (&signal_set, &signal);
 #endif
 
Received on Sun Dec 1 03:24:31 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 04:00:03 CET