From: Sascha Schumann Date: Thu, 30 Mar 2000 19:02:52 +0000 (+0000) Subject: Build the bundled mysqlclient library thread-safe in thread-safe mode. X-Git-Tag: php-4.0RC2~565 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a52ef6439dd8f60ab616da7b14fd466b9a9e1ca;p=php Build the bundled mysqlclient library thread-safe in thread-safe mode. --- 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])