From 98a5284170e9cf1dea5bfe0ab8fdf5ede4ba3246 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 2 Feb 2004 16:00:49 +0000 Subject: [PATCH] Move win32 changes from configure to configure.in, per Tom, autoconf run. --- configure.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 29dd95cac7..8710907b53 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.311 2004/01/19 21:20:05 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.312 2004/02/02 16:00:49 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -261,7 +261,7 @@ AC_MSG_NOTICE([using CFLAGS=$CFLAGS]) # We already have this in Makefile.win32, but configure needs it too if test "$PORTNAME" = "win32"; then - CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32" + CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32 -DEXEC_BACKEND" fi # Check if the compiler still works with the template settings @@ -905,10 +905,11 @@ esac # Win32 can't to rename or unlink on an open file case $host_os in mingw*) -AC_LIBOBJ(dirmod) AC_LIBOBJ(copydir) +AC_LIBOBJ(dirmod) AC_LIBOBJ(gettimeofday) -AC_LIBOBJ(pipe) ;; +AC_LIBOBJ(pipe) +AC_LIBOBJ(rand) ;; esac if test "$with_readline" = yes; then