From dfc6649c4d849f6252da6c119dfd92e202cb86a8 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 22 Apr 2003 02:18:09 +0000 Subject: Add Win32 versions of unlink and rename --- loop until success. --- configure.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b0b8358972..9e50e487c9 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.242 2003/04/06 22:45:22 petere Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.243 2003/04/22 02:18:09 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -856,8 +856,13 @@ ac_cv_func_fseeko=yes esac # Solaris has a very slow qsort in certain cases, so we replace it. -case $host_os in - solaris*) AC_LIBOBJ(qsort) ;; +case $host_os in solaris*) +AC_LIBOBJ(qsort) ;; +esac + +# Win32 can't to rename or unlink on an open file +case $host_os in win32*) +AC_LIBOBJ(dirmod) ;; esac # On HPUX 9, rint() is not in regular libm.a but in /lib/pa1.1/libm.a; -- cgit v1.2.1