*** pgsql/configure.in 2003/11/03 05:27:18 1.301 --- pgsql/configure.in 2004/03/20 15:39:40 1.301.2.7 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. ! dnl $Header: /projects/cvsroot/pgsql/configure.in,v 1.301 2003/11/03 05:27:18 pgsql 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 $Header: /projects/cvsroot/pgsql/configure.in,v 1.301.2.7 2004/03/20 15:39:40 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl *************** dnl The GNU folks apparently haven't hea *** 21,27 **** dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". m4_define([info], [doc]) m4_define([infodir], [docdir]) ! AC_INIT([PostgreSQL], [7.4RC1], [pgsql-bugs@postgresql.org]) m4_undefine([infodir]) m4_undefine([info]) AC_SUBST(docdir) --- 21,27 ---- dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". m4_define([info], [doc]) m4_define([infodir], [docdir]) ! AC_INIT([PostgreSQL], [7.4.2], [pgsql-bugs@postgresql.org]) m4_undefine([infodir]) m4_undefine([info]) AC_SUBST(docdir) *************** IFS=$ac_save_IFS *** 351,357 **** # AC_MSG_CHECKING([allow thread-safe client libraries]) PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety make client libraries thread-safe], ! [AC_DEFINE([USE_THREADS], 1, [Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)])]) AC_MSG_RESULT([$enable_thread_safety]) AC_SUBST(enable_thread_safety) --- 351,357 ---- # AC_MSG_CHECKING([allow thread-safe client libraries]) PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety make client libraries thread-safe], ! [AC_DEFINE([ENABLE_THREAD_SAFETY], 1, [Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)])]) AC_MSG_RESULT([$enable_thread_safety]) AC_SUBST(enable_thread_safety) *************** AC_SUBST(THREAD_LIBS) *** 1053,1058 **** --- 1053,1059 ---- # functions are marked "not found", which is perfect. # if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNCS" = yes ; then + AC_DEFINE(NEED_REENTRANT_FUNCS, 1, [Define if non *_r libc functions are not thread safe]) _CFLAGS="$CFLAGS" _LIBS="$LIBS" CFLAGS="$CFLAGS $THREAD_CPPFLAGS" *************** LIBS="$LIBS $THREAD_LIBS" *** 1060,1065 **** --- 1061,1067 ---- AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r]) CFLAGS="$_CFLAGS" LIBS="$_LIBS" + PGAC_FUNC_GETPWUID_R_5ARG fi