Only define HAVE_LCHOWN if it is not already defined. Fixes AIX
authorcls%seawood.org
Wed, 17 Jan 2001 05:13:00 +0000
changeset 1669 0cfc605f9f96207f44b109257556ae5c6f843a5c
parent 1667 172a06dedf4136efabfab57197bb9d7424107d3c
child 1673 a719a69b76ce777dc62b9888f28469bb7994c3a2
push idunknown
push userunknown
push dateunknown
Only define HAVE_LCHOWN if it is not already defined. Fixes AIX
config/nsinstall.c
--- a/config/nsinstall.c
+++ b/config/nsinstall.c
@@ -52,17 +52,19 @@
 #include <errno.h>
 #include <stdarg.h>
 #ifdef USE_REENTRANT_LIBC
 #include "libc_r.h"
 #endif /* USE_REENTRANT_LIBC */
 
 #include "pathsub.h"
 
+#ifndef HAVE_LCHOWN
 #define HAVE_LCHOWN
+#endif
 
 #if defined(AIX) || defined(BSDI) || defined(HPUX) || defined(LINUX) \
     || defined(SUNOS4) || defined(SCO) || defined(UNIXWARE) \
     || defined(RHAPSODY) || defined(NEXTSTEP) || defined(QNX) \
     || defined(BEOS) || defined(VMS)
 #undef HAVE_LCHOWN
 #endif