CVS update: php3
| From: | sas | Date: | Sat, 13 Mar 1999 13:57:02 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4606@lists.php.net to get a copy of this message | ||
Date: Saturday March 13, 1999 @ 8:57
Author: sas
Update of /repository/php3
In directory asf:/u/temp/cvs-serv20340
Modified Files:
configure.in acconfig.h config.h.in
Log Message:
Fix for #954
Index: php3/configure.in
diff -c php3/configure.in:1.334 php3/configure.in:1.335
*** php3/configure.in:1.334 Fri Mar 12 09:21:43 1999
--- php3/configure.in Sat Mar 13 08:57:01 1999
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.334 1999/03/12 14:21:43 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.335 1999/03/13 13:57:01 sas Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 153,158 ****
--- 153,167 ----
dnl Checks for typedefs, structures, and compiler characteristics.
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
+
+ AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
+ [AC_TRY_COMPILE([#include <sys/types.h>
+ #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
+ ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
+
+ if test "$ac_cv_struct_tm_gmtoff" = yes; then
+ AC_DEFINE(HAVE_TM_GMTOFF)
+ fi
AC_CACHE_CHECK(for struct flock,php_struct_flock,
AC_TRY_COMPILE([
Index: php3/acconfig.h
diff -c php3/acconfig.h:1.85 php3/acconfig.h:1.86
*** php3/acconfig.h:1.85 Sat Feb 27 13:47:12 1999
--- php3/acconfig.h Sat Mar 13 08:57:01 1999
***************
*** 35,40 ****
--- 35,43 ----
/* This will cause HAVE_DIRENT_H defined twice sometimes, but it should be problem */
#define HAVE_DIRENT_H 0
+ /* Define if your struct tm has tm_gmtoff. */
+ #undef HAVE_TM_GMTOFF
+
/* Define if you have struct flock */
#define HAVE_STRUCT_FLOCK 0
Index: php3/config.h.in
diff -c php3/config.h.in:1.145 php3/config.h.in:1.146
*** php3/config.h.in:1.145 Tue Mar 2 05:34:01 1999
--- php3/config.h.in Sat Mar 13 08:57:01 1999
***************
*** 98,103 ****
--- 98,106 ----
/* ImageMagick check */
#undef HAVE_LIBMAGICK
+ /* Define if your struct tm has tm_gmtoff. */
+ #undef HAVE_TM_GMTOFF
+
/* Define if you have struct flock */
#define HAVE_STRUCT_FLOCK 0
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net