cvs: /php3 config.h.in configure.in
| From: | Sascha Schumann | Date: | Sun, 24 Oct 1999 16:42:11 +0000 |
| Subject: | cvs: /php3 config.h.in configure.in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11868@lists.php.net to get a copy of this message | ||
sas Sun Oct 24 12:42:11 1999 EDT
Modified files:
/php3 config.h.in configure.in
Log:
Define USE_BCOPY, if memmove is not found (i.e. SunOS 4). Fix for #2480
Index: php3/config.h.in
diff -u php3/config.h.in:1.195 php3/config.h.in:1.196
--- php3/config.h.in:1.195 Mon Sep 20 06:10:05 1999
+++ php3/config.h.in Sun Oct 24 12:42:10 1999
@@ -68,6 +68,7 @@
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
+#undef USE_BCOPY
#undef HAVE_FTP
#undef HAVE_LIBGD14
#undef HAVE_LIBGD15
@@ -407,11 +408,11 @@
#define HAVE_POSIX 0
-/* The number of bytes in a long. */
-#undef SIZEOF_LONG
-
/* The number of bytes in a int. */
#undef SIZEOF_INT
+
+/* The number of bytes in a long. */
+#undef SIZEOF_LONG
/* Define if you have the crypt function. */
#undef HAVE_CRYPT
Index: php3/configure.in
diff -u php3/configure.in:1.468 php3/configure.in:1.469
--- php3/configure.in:1.468 Sat Oct 16 18:40:51 1999
+++ php3/configure.in Sun Oct 24 12:42:10 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.468 1999/10/16 22:40:51 markonen Exp $
+dnl $Id: configure.in,v 1.469 1999/10/24 16:42:10 sas Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -2849,6 +2849,8 @@
AC_SUBST(PCRE_LIB)
AC_SUBST(PCRE_LIBS)
AC_SUBST(PCRE_OBJS)
+
+AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1)])
AC_MSG_CHECKING(whether to include POSIX support)
AC_ARG_WITH(posix,