On Mon, 4 Oct 2004, Reini Urban wrote: > Reini Urban schrieb: > > no HAVE_SYMLINK defined, though CYGWIN should added -DHAVE_SYMLINK. > > oops, sorry for the noise. of course CYGWIN has it defined in pg_config.h. > CYGWIN can only do hardlinks (junctions) on directories of course. > > maybe HAVE_SYMLINKS should be extended to HAVE_DIR_SYMLINKS when you > want to symlink a dir. > > > /usr/src/postgresql/postgresql-8.0.0cvs/src/backend/commands > > $ gcc -E -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes > > -Wmissing-declarations -I../../../src/include -DBUILDING_DLL -c > > tablespace.c | grep HAVE_SYMLINK > > > > <none>
I though this may have been the problem. configure.in defines HAVE_SYMLINK to 1 if we are win32. It seems that for Reini's case we are setting our template (and PORTNAME) to win32 when I suspect it should be cygwin. Anyone got any ideas? Gavin ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend