Move win32 changes from configure to configure.in, per Tom, autoconf

run.
This commit is contained in:
Bruce Momjian 2004-02-02 16:00:49 +00:00
parent 6f295328e5
commit 98a5284170
1 changed files with 5 additions and 4 deletions

View File

@ -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