svn commit: samba r8453 - in branches/SAMBA_4_0/source: build/m4 lib/appweb/mpr

tridge at samba.org tridge at samba.org
Thu Jul 14 07:35:49 GMT 2005


Author: tridge
Date: 2005-07-14 07:35:48 +0000 (Thu, 14 Jul 2005)
New Revision: 8453

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8453

Log:
my solaris10 box doesn't have math.h

maybe sun isn't very good at maths?

Modified:
   branches/SAMBA_4_0/source/build/m4/rewrite.m4
   branches/SAMBA_4_0/source/lib/appweb/mpr/miniMpr.h


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/rewrite.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/rewrite.m4	2005-07-14 07:21:59 UTC (rev 8452)
+++ branches/SAMBA_4_0/source/build/m4/rewrite.m4	2005-07-14 07:35:48 UTC (rev 8453)
@@ -56,7 +56,7 @@
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(arpa/inet.h sys/select.h fcntl.h sys/fcntl.h sys/time.h)
 AC_CHECK_HEADERS(utime.h grp.h sys/id.h limits.h memory.h net/if.h)
-AC_CHECK_HEADERS(compat.h)
+AC_CHECK_HEADERS(compat.h math.h)
 AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/mode.h)
 AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h sys/socket.h)
 AC_CHECK_HEADERS(sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h)

Modified: branches/SAMBA_4_0/source/lib/appweb/mpr/miniMpr.h
===================================================================
--- branches/SAMBA_4_0/source/lib/appweb/mpr/miniMpr.h	2005-07-14 07:21:59 UTC (rev 8452)
+++ branches/SAMBA_4_0/source/lib/appweb/mpr/miniMpr.h	2005-07-14 07:35:48 UTC (rev 8453)
@@ -74,8 +74,9 @@
 #if QNX4
 	#include	<dirent.h>
 #endif
+#ifdef HAVE_MATH_H
 	#include	<math.h>
-
+#endif
 /********************************** Defines ***********************************/
 
 #ifdef __cplusplus



More information about the samba-cvs mailing list