diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-02-11 17:29:01 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-02-11 17:29:01 +0000 |
| commit | 15b330b648553627230a11adce304103a55e0b62 (patch) | |
| tree | ffe1e76023e3a95bbe266c1a0ddf1e8d4540ad35 /configure | |
| parent | ac4ad7bf2cba435cf6301d3f6317d604dad920a0 (diff) | |
| download | postgresql-15b330b648553627230a11adce304103a55e0b62.tar.gz | |
Properly set NEED_REENTRANT_FUNCS for threaded libpq/ecpg.
Without this patch, no thread locking or *_r functions were being used.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -13243,6 +13243,11 @@ fi # functions are marked "not found", which is perfect. # if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNCS" = yes ; then + +cat >>confdefs.h <<\_ACEOF +#define NEED_REENTRANT_FUNCS 1 +_ACEOF + _CFLAGS="$CFLAGS" _LIBS="$LIBS" CFLAGS="$CFLAGS $THREAD_CPPFLAGS" |
