diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-02-11 17:32:09 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-02-11 17:32:09 +0000 |
commit | 29760bbdaf8fee6539ce9d986db9dc7d29bbc080 (patch) | |
tree | 0a8770dee0af0e6f0b840d39669fc59e3e1d736d /configure | |
parent | 18b8cb5a9e870488512b6075ce1beb8dedeacc8b (diff) | |
download | postgresql-29760bbdaf8fee6539ce9d986db9dc7d29bbc080.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
@@ -13395,6 +13395,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" |