Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 98a5284

Browse files
committed
Move win32 changes from configure to configure.in, per Tom, autoconf
run.
1 parent 6f29532 commit 98a5284

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

configure.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.311 2004/01/19 21:20:05 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.312 2004/02/02 16:00:49 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -261,7 +261,7 @@ AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
261261

262262
# We already have this in Makefile.win32, but configure needs it too
263263
if test "$PORTNAME" = "win32"; then
264-
CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32"
264+
CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32 -DEXEC_BACKEND"
265265
fi
266266

267267
# Check if the compiler still works with the template settings
@@ -905,10 +905,11 @@ esac
905905

906906
# Win32 can't to rename or unlink on an open file
907907
case $host_os in mingw*)
908-
AC_LIBOBJ(dirmod)
909908
AC_LIBOBJ(copydir)
909+
AC_LIBOBJ(dirmod)
910910
AC_LIBOBJ(gettimeofday)
911-
AC_LIBOBJ(pipe) ;;
911+
AC_LIBOBJ(pipe)
912+
AC_LIBOBJ(rand) ;;
912913
esac
913914

914915
if test "$with_readline" = yes; then

0 commit comments

Comments
 (0)