Hello,

When Matze committed my patch to revive the NeXT ports recently, he 
changed a few things around in the patch before committing it. 
Unfortunately, one of his changes was incomplete, and causes the build 
to fail when it tries compiling the non-existent getcwd.c replacement 
file.  The patch below corrects this error.

diff -u -d -b -w -r1.200 configure.in
--- configure.in        30 Nov 2003 11:27:34 -0000      1.200
+++ configure.in        30 Nov 2003 14:28:12 -0000
@@ -377,9 +377,9 @@
  AC_FUNC_FSEEKO
  AC_CHECK_FUNCS(ftello)
  AC_REPLACE_FUNCS(dup2 memmove mkdir strcasecmp strncasecmp strerror 
strftime\
-                strchr strstr strtoul getcwd crypt flock vsnprintf\
+                strchr strstr strtoul crypt flock vsnprintf\
                  isinf isnan finite hypot acosh erf)
-AC_CHECK_FUNCS(fmod killpg wait4 waitpid syscall chroot fsync\
+AC_CHECK_FUNCS(fmod killpg wait4 waitpid syscall chroot fsync getcwd\
               truncate chsize times utimes fcntl lockf lstat symlink 
readlink\
               setitimer setruid seteuid setreuid setresuid setproctitle\
               setrgid setegid setregid setresgid issetugid pause lchown 
lchmod\