changeset 14894:3f2d133c05a8

Accept lignux in configuration name. Use lignux instead of linux as value of opsys. (linux/version.h): Check for this header.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Mar 1996 02:49:44 +0000
parents 31ec812fd659
children 634fc7befbdf
files configure.in
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Mar 27 02:45:32 1996 +0000
+++ b/configure.in	Wed Mar 27 02:49:44 1996 +0000
@@ -189,8 +189,8 @@
     machine=alpha opsys=osf1
   ;;
 
-  alpha-*-linux* )
-    machine=alpha opsys=linux
+  alpha-*-linux* | alpha-*-lignux* )
+    machine=alpha opsys=lignux
   ;;
 
   ## Altos 3068
@@ -831,7 +831,7 @@
       *-esix5* )		opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
       *-esix* )			opsys=esix ;;
       *-xenix* )		opsys=xenix ;;
-      *-linux* )		opsys=linux ;;
+      *-linux* | *-lignux* )	opsys=lignux ;;
       *-sco3.2v4* )		opsys=sco4 ; NON_GNU_CPP=/lib/cpp  ;;
       *-bsd386* | *-bsdi1* )	opsys=bsd386 ;;
       *-bsdi2* )		opsys=bsdos2 ;;
@@ -842,9 +842,9 @@
     esac
   ;;
 
-  ## Linux/68k
-  m68k-*-linux* )
-    machine=m68k opsys=linux
+  ## Lignux/68k
+  m68k-*-linux* | m68k-*-lignux* )
+    machine=m68k opsys=lignux
   ;;
 
   * )
@@ -956,7 +956,7 @@
 AC_AIX
 
 dnl checks for header files
-AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h)
+AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h linux/version.h)
 AC_HEADER_STDC
 AC_HEADER_TIME
 AC_DECL_SYS_SIGLIST
@@ -1100,7 +1100,7 @@
 ### and REAL_CFLAGS (which we use for real compilation).
 ### The two are the same except on a few systems, where they are made
 ### different to work around various lossages.  For example,
-### GCC 2.5 on Linux needs them to be different because it treats -g
+### GCC 2.5 on Lignux needs them to be different because it treats -g
 ### as implying static linking.
 
 ### If the CFLAGS env var is specified, we use that value
@@ -1268,7 +1268,7 @@
     export LD_RUN_PATH
   fi
 
-  if test "${opsys}" = "linux"; then
+  if test "${opsys}" = "lignux"; then
     AC_MSG_CHECKING(whether X on GNU/Linux needs -b to link)
     AC_TRY_LINK([],
      [XOpenDisplay ("foo");],