From 0b9da8a932807ec696ae54f8fc8ae1920bef19ce Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 27 Mar 1996 02:49:44 +0000 Subject: [PATCH] Accept lignux in configuration name. Use lignux instead of linux as value of opsys. (linux/version.h): Check for this header. --- configure.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.in b/configure.in index 307e601d77f..17eb3670d2e 100644 --- a/configure.in +++ b/configure.in @@ -189,8 +189,8 @@ case "${canonical}" in machine=alpha opsys=osf1 ;; - alpha-*-linux* ) - machine=alpha opsys=linux + alpha-*-linux* | alpha-*-lignux* ) + machine=alpha opsys=lignux ;; ## Altos 3068 @@ -831,7 +831,7 @@ case "${canonical}" in *-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 @@ case "${canonical}" in esac ;; - ## Linux/68k - m68k-*-linux* ) - machine=m68k opsys=linux + ## Lignux/68k + m68k-*-linux* | m68k-*-lignux* ) + machine=m68k opsys=lignux ;; * ) @@ -956,7 +956,7 @@ dnl checks for Unix variants 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 @@ AC_CHECKING([the machine- and system-dependent files to find out ### 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 @@ if test "${HAVE_X11}" = "yes"; then 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");], -- 2.39.2