Changed checks for LINUX to linux as linux is defined by the compiler and fixes autoconf breakage under libc5.
authorcls%seawood.org
Fri, 04 Sep 1998 10:37:27 +0000
changeset 227 3431a90667e5129b8693097d01aad7da41bf2608
parent 226 1863c4da1d78b4428e445c88b802dd1af3c05c56
child 228 f70feffdcfcdbcae0f9a8b82eec32025f8723c35
push idunknown
push userunknown
push dateunknown
Changed checks for LINUX to linux as linux is defined by the compiler and fixes autoconf breakage under libc5.
config/nsinstall.c
--- a/config/nsinstall.c
+++ b/config/nsinstall.c
@@ -33,29 +33,29 @@
 #include <unistd.h>
 #include <utime.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include "pathsub.h"
 
 #define HAVE_LCHOWN
 
-#if defined(AIX) || defined(BSDI) || defined(HPUX) || defined(LINUX) || defined(SUNOS4) || defined(SCO) || defined(UNIXWARE) || defined(RHAPSODY)
+#if defined(AIX) || defined(BSDI) || defined(HPUX) || defined(linux) || defined(SUNOS4) || defined(SCO) || defined(UNIXWARE) || defined(RHAPSODY)
 #undef HAVE_LCHOWN
 #endif
 
 /*
  * Does getcwd() take NULL as the first argument and malloc
  * the result buffer?
  */
 #if !defined(RHAPSODY)
 #define GETCWD_CAN_MALLOC
 #endif
 
-#ifdef LINUX
+#ifdef linux
 #include <getopt.h>
 #endif
 
 #if defined(SCO) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC)
 #if !defined(S_ISLNK) && defined(S_IFLNK)
 #define S_ISLNK(a)	(((a) & S_IFMT) == S_IFLNK)
 #endif
 #endif