*** pgsql/configure.in 2009/12/02 14:07:25 1.615 --- pgsql/configure.in 2009/12/11 02:21:21 1.616 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. ! dnl $PostgreSQL: pgsql/configure.in,v 1.614 2009/12/01 23:02:44 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl --- 1,5 ---- dnl Process this file with autoconf to produce a configure script. ! dnl $PostgreSQL: pgsql/configure.in,v 1.615 2009/12/02 14:07:25 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl *************** IFS=$ac_save_IFS *** 559,564 **** --- 559,568 ---- # AC_MSG_CHECKING([allow thread-safe client libraries]) PGAC_ARG_BOOL(enable, thread-safety, yes, [disable thread-safety in client libraries]) + if test "$enable_thread_safety" = yes; then + AC_DEFINE([ENABLE_THREAD_SAFETY], 1, + [Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)]) + fi AC_MSG_RESULT([$enable_thread_safety]) AC_SUBST(enable_thread_safety)