diff options
| author | Richard M. Stallman | 1996-03-27 02:49:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-27 02:49:44 +0000 |
| commit | 0b9da8a932807ec696ae54f8fc8ae1920bef19ce (patch) | |
| tree | 675e629d8846b480f71cf1bba6bb2884c034eb0f | |
| parent | 153d6aaa4f77470926a1cc8ba6d53767bcfd4d36 (diff) | |
| download | emacs-0b9da8a932807ec696ae54f8fc8ae1920bef19ce.tar.gz emacs-0b9da8a932807ec696ae54f8fc8ae1920bef19ce.zip | |
Accept lignux in configuration name.
Use lignux instead of linux as value of opsys.
(linux/version.h): Check for this header.
| -rw-r--r-- | configure.in | 18 |
1 files 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 | |||
| 189 | machine=alpha opsys=osf1 | 189 | machine=alpha opsys=osf1 |
| 190 | ;; | 190 | ;; |
| 191 | 191 | ||
| 192 | alpha-*-linux* ) | 192 | alpha-*-linux* | alpha-*-lignux* ) |
| 193 | machine=alpha opsys=linux | 193 | machine=alpha opsys=lignux |
| 194 | ;; | 194 | ;; |
| 195 | 195 | ||
| 196 | ## Altos 3068 | 196 | ## Altos 3068 |
| @@ -831,7 +831,7 @@ case "${canonical}" in | |||
| 831 | *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;; | 831 | *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;; |
| 832 | *-esix* ) opsys=esix ;; | 832 | *-esix* ) opsys=esix ;; |
| 833 | *-xenix* ) opsys=xenix ;; | 833 | *-xenix* ) opsys=xenix ;; |
| 834 | *-linux* ) opsys=linux ;; | 834 | *-linux* | *-lignux* ) opsys=lignux ;; |
| 835 | *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; | 835 | *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; |
| 836 | *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; | 836 | *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; |
| 837 | *-bsdi2* ) opsys=bsdos2 ;; | 837 | *-bsdi2* ) opsys=bsdos2 ;; |
| @@ -842,9 +842,9 @@ case "${canonical}" in | |||
| 842 | esac | 842 | esac |
| 843 | ;; | 843 | ;; |
| 844 | 844 | ||
| 845 | ## Linux/68k | 845 | ## Lignux/68k |
| 846 | m68k-*-linux* ) | 846 | m68k-*-linux* | m68k-*-lignux* ) |
| 847 | machine=m68k opsys=linux | 847 | machine=m68k opsys=lignux |
| 848 | ;; | 848 | ;; |
| 849 | 849 | ||
| 850 | * ) | 850 | * ) |
| @@ -956,7 +956,7 @@ dnl checks for Unix variants | |||
| 956 | AC_AIX | 956 | AC_AIX |
| 957 | 957 | ||
| 958 | dnl checks for header files | 958 | dnl checks for header files |
| 959 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h) | 959 | AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h linux/version.h) |
| 960 | AC_HEADER_STDC | 960 | AC_HEADER_STDC |
| 961 | AC_HEADER_TIME | 961 | AC_HEADER_TIME |
| 962 | AC_DECL_SYS_SIGLIST | 962 | AC_DECL_SYS_SIGLIST |
| @@ -1100,7 +1100,7 @@ AC_CHECKING([the machine- and system-dependent files to find out | |||
| 1100 | ### and REAL_CFLAGS (which we use for real compilation). | 1100 | ### and REAL_CFLAGS (which we use for real compilation). |
| 1101 | ### The two are the same except on a few systems, where they are made | 1101 | ### The two are the same except on a few systems, where they are made |
| 1102 | ### different to work around various lossages. For example, | 1102 | ### different to work around various lossages. For example, |
| 1103 | ### GCC 2.5 on Linux needs them to be different because it treats -g | 1103 | ### GCC 2.5 on Lignux needs them to be different because it treats -g |
| 1104 | ### as implying static linking. | 1104 | ### as implying static linking. |
| 1105 | 1105 | ||
| 1106 | ### If the CFLAGS env var is specified, we use that value | 1106 | ### If the CFLAGS env var is specified, we use that value |
| @@ -1268,7 +1268,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1268 | export LD_RUN_PATH | 1268 | export LD_RUN_PATH |
| 1269 | fi | 1269 | fi |
| 1270 | 1270 | ||
| 1271 | if test "${opsys}" = "linux"; then | 1271 | if test "${opsys}" = "lignux"; then |
| 1272 | AC_MSG_CHECKING(whether X on GNU/Linux needs -b to link) | 1272 | AC_MSG_CHECKING(whether X on GNU/Linux needs -b to link) |
| 1273 | AC_TRY_LINK([], | 1273 | AC_TRY_LINK([], |
| 1274 | [XOpenDisplay ("foo");], | 1274 | [XOpenDisplay ("foo");], |