From 0a52ef6439dd8f60ab616da7b14fd466b9a9e1ca Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 30 Mar 2000 19:02:52 +0000 Subject: [PATCH] Build the bundled mysqlclient library thread-safe in thread-safe mode. --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index 0ffc310c26..238d789e6a 100644 --- a/configure.in +++ b/configure.in @@ -713,6 +713,12 @@ EOF chmod +x meta_ccld fi +dnl This will go away, if we have a facility to run per-extension code +dnl after the thread_safety decision was done +if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then + CPPFLAGS="$CPPFLAGS -DTHREAD=1" +fi + AM_PROG_LIBTOOL if test "$enable_debug" != "yes"; then AM_SET_LIBTOOL_VARIABLE([--silent]) -- 2.50.1