Add $srcdir for Win32 builds, from Peter.
authorBruce Momjian <bruce@momjian.us>
Sun, 7 Sep 2003 16:38:05 +0000 (16:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 7 Sep 2003 16:38:05 +0000 (16:38 +0000)
configure.in

index f08da97faf9ae78ac0a7f71a3c0249578b433fd3..58db85abd0c1834e646bb537a912d99e1e3a5e83 100644 (file)
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-dnl $Header: /cvsroot/pgsql/configure.in,v 1.285 2003/09/07 03:43:52 momjian Exp $
+dnl $Header: /cvsroot/pgsql/configure.in,v 1.286 2003/09/07 16:38:05 momjian Exp $
 dnl
 dnl Developers, please strive to achieve this order:
 dnl
@@ -241,7 +241,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 -Isrc/include/port/win32"
+       CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32"
 fi
 
 # Check if the compiler still works with the template settings