|
|
nagios Changelog,1.118,1.119 configure,1.77,1.78 configure.in,1.77,1.78: msg#00023
|
Subject: |
nagios Changelog,1.118,1.119 configure,1.77,1.78 configure.in,1.77,1.78 |
Update of /cvsroot/nagios/nagios
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21703
Modified Files:
Changelog configure configure.in
Log Message:
Added configure script option to disable use of nanosleep() function
Index: Changelog
===================================================================
RCS file: /cvsroot/nagios/nagios/Changelog,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -d -r1.118 -r1.119
*** Changelog 23 Dec 2005 20:20:00 -0000 1.118
--- Changelog 23 Dec 2005 22:17:08 -0000 1.119
***************
*** 18,21 ****
--- 18,22 ----
* Minor embedded Perl changes
* Fixed bug with non-registered objects in wildcard/regex templates
+ * Added configure script option to disable use of nanosleep() in event queue
* Minor documentation updates
Index: configure
===================================================================
RCS file: /cvsroot/nagios/nagios/configure,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** configure 1 Dec 2005 00:19:15 -0000 1.77
--- configure 23 Dec 2005 22:17:08 -0000 1.78
***************
*** 855,858 ****
--- 855,859 ----
--enable-DEBUG5 shows SQL queries
--enable-DEBUGALL shows all debugging messages
+ --enable-nanosleep enables use of nanosleep (instead sleep) in event timing
--enable-event-broker enables integration of event broker routines
--enable-embedded-perl will enable embedded Perl interpreter
***************
*** 5590,5593 ****
--- 5591,5609 ----
+ USE_NANOSLEEP=yes
+ # Check whether --enable-nanosleep or --disable-nanosleep was given.
+ if test "${enable_nanosleep+set}" = set; then
+ enableval="$enable_nanosleep"
+ USE_NANOSLEEP=$enableval
+ else
+ USE_NANOSLEEP=yes
+ fi;
+ if test x$USE_NANOSLEEP = xyes; then
+ cat >>confdefs.h <<_ACEOF
+ #define USE_NANOSLEEP 1
+ _ACEOF
+
+ fi
+
USE_EVENTBROKER=yes
# Check whether --enable-event-broker or --disable-event-broker was given.
Index: configure.in
===================================================================
RCS file: /cvsroot/nagios/nagios/configure.in,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** configure.in 1 Dec 2005 00:19:16 -0000 1.77
--- configure.in 23 Dec 2005 22:17:08 -0000 1.78
***************
*** 448,451 ****
--- 448,457 ----
+ USE_NANOSLEEP=yes
+ AC_ARG_ENABLE(nanosleep,--enable-nanosleep enables use of nanosleep (instead
sleep) in event timing,USE_NANOSLEEP=$enableval,USE_NANOSLEEP=yes)
+ if test x$USE_NANOSLEEP = xyes; then
+ AC_DEFINE_UNQUOTED(USE_NANOSLEEP)
+ fi
+
USE_EVENTBROKER=yes
AC_ARG_ENABLE(event-broker,--enable-event-broker enables integration of event
broker routines,USE_EVENTBROKER=$enableval,USE_EVENTBROKER=yes)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
|
| |