Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : tclock

Dir     : e_modules/tclock


Modified Files:
        configure.in e_mod_main.c 


Log Message:
Add configure.in checks for sys/time.h and/or time.h and adjust e_mod_main.c
accordingly.

===================================================================
RCS file: /cvs/e/e_modules/tclock/configure.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- configure.in        10 Jun 2006 02:31:59 -0000      1.14
+++ configure.in        29 Jun 2006 20:04:19 -0000      1.15
@@ -13,6 +13,8 @@
 AC_PROG_CC
 AM_PROG_CC_STDC
 AC_HEADER_STDC
+AC_HEADER_TIME
+AC_CHECK_HEADERS(sys/time.h)
 AC_C_CONST
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
===================================================================
RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_main.c        23 Jun 2006 04:35:27 -0000      1.35
+++ e_mod_main.c        29 Jun 2006 20:04:19 -0000      1.36
@@ -1,6 +1,15 @@
-#include <time.h>
 #include <e.h>
 #include "e_mod_main.h"
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+#  include <sys/time.h>
+# else
+#  include <time.h>
+# endif
+#endif
 
 /* Func Proto Requirements for Gadcon */
 static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char 
*id, const char *style);



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to