diff options
| author | Sascha Schumann <sas@php.net> | 1999-10-24 16:41:07 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-10-24 16:41:07 +0000 |
| commit | 387f15d8951f23ebb9c87e5a983c1c38be93a6aa (patch) | |
| tree | d229f591cc2532fb66b63018b21491f87c6e4775 | |
| parent | a29baa30c8db5fa33f808201c841f6e7ccdca7df (diff) | |
| download | php-git-387f15d8951f23ebb9c87e5a983c1c38be93a6aa.tar.gz | |
Define USE_BCOPY, if memmove is not found (i.e. SunOS 4). Fix for #2480
| -rw-r--r-- | ext/pcre/config.h.stub | 1 | ||||
| -rw-r--r-- | ext/pcre/config.m4 | 2 | ||||
| -rw-r--r-- | ext/pcre/config0.m4 | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/ext/pcre/config.h.stub b/ext/pcre/config.h.stub index 149f740cc1..128deea9ab 100644 --- a/ext/pcre/config.h.stub +++ b/ext/pcre/config.h.stub @@ -2,3 +2,4 @@ #define HAVE_PCRE 0 #define HAVE_BUNDLED_PCRE 0 +#undef USE_BCOPY diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4 index 09a6a6a91d..729e99e52d 100644 --- a/ext/pcre/config.m4 +++ b/ext/pcre/config.m4 @@ -60,3 +60,5 @@ AC_ARG_WITH(pcre-regex, ]) AC_SUBST(PCRE_LIBADD) AC_SUBST(PCRE_SUBDIRS) + +AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1)]) diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index 09a6a6a91d..729e99e52d 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -60,3 +60,5 @@ AC_ARG_WITH(pcre-regex, ]) AC_SUBST(PCRE_LIBADD) AC_SUBST(PCRE_SUBDIRS) + +AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1)]) |
