summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-04-22 02:18:09 +0000
committerBruce Momjian <bruce@momjian.us>2003-04-22 02:18:09 +0000
commitdfc6649c4d849f6252da6c119dfd92e202cb86a8 (patch)
tree58a5d0910aee13b333824698c7fbaa91ad5f3da6 /configure.in
parent5ed27e35f35f6c354b1a7120ec3a3ce57f93e73e (diff)
downloadpostgresql-dfc6649c4d849f6252da6c119dfd92e202cb86a8.tar.gz
Add Win32 versions of unlink and rename --- loop until success.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 8 insertions, 3 deletions
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;