*** pgsql/configure.in 2005/08/23 20:48:44 1.422 --- pgsql/configure.in 2005/08/23 21:01:59 1.423 *************** *** 1,5 **** dnl Process this file with autoconf to produce a configure script. ! dnl $PostgreSQL: pgsql/configure.in,v 1.420 2005/08/20 23:26:06 tgl 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.422 2005/08/23 20:48:44 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl *************** AC_CHECK_TYPES([int8, uint8, int64, uint *** 1172,1177 **** --- 1172,1179 ---- AC_CHECK_TYPES(sig_atomic_t, [], [], [#include ]) + if test x"$template" != x"win32" + then PGAC_FUNC_POSIX_SIGNALS if test "$pgac_cv_func_posix_signals" != yes -a "$enable_thread_safety" = yes; then AC_MSG_ERROR([ *************** if test "$pgac_cv_func_posix_signals" != *** 1179,1184 **** --- 1181,1187 ---- *** operating system. ]) fi + fi if test $ac_cv_func_fseeko = yes; then AC_SYS_LARGEFILE *************** AC_CHECK_PROGS(SGMLSPL, sgmlspl) *** 1241,1253 **** --- 1244,1263 ---- # defined. Cross compiling throws a warning. # if test "$enable_thread_safety_force" = yes; then + if test x"$template" != x"win32" + then AC_MSG_WARN([ *** Skipping thread test program. --enable-thread-safety-force was used. *** Run the program in src/tools/thread on the your machine and add proper locking function calls to your applications to guarantee thread safety. ]) + else + AC_MSG_WARN([*** Skipping thread test on Win32]) + fi elif test "$enable_thread_safety" = yes; then + if test x"$template" != x"win32" + then AC_MSG_CHECKING([thread safety of required library functions]) _CFLAGS="$CFLAGS" *************** AC_TRY_RUN([#include "$srcdir/src/tools/ *** 1273,1278 **** --- 1283,1291 ---- ])]) CFLAGS="$_CFLAGS" LIBS="$_LIBS" + else + AC_MSG_WARN([*** Skipping thread test on Win32]) + fi fi # prepare build tree if outside source tree