diff options
author | Glenn Morris <rgm@gnu.org> | 2012-06-12 15:03:32 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-06-12 15:03:32 -0400 |
commit | b4492cba7a034185fecea38790b58c20667bfee0 (patch) | |
tree | fb42ad9843821c350a91a93e143369fd098bbdb4 /configure.in | |
parent | 8a07a8c6fe3c0ed64d0dbbc1c9789ce970341fdb (diff) | |
download | emacs-b4492cba7a034185fecea38790b58c20667bfee0.tar.gz emacs-b4492cba7a034185fecea38790b58c20667bfee0.tar.bz2 emacs-b4492cba7a034185fecea38790b58c20667bfee0.zip |
Remove src/s/sol2-10.h
* configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
(opsysfile): Set specially for sol2-10.
* src/s/gnu-linux.h (HAVE_PROCFS): Move to configure.
* src/s/sol2-10.h: Remove file.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/configure.in b/configure.in index dea8c96591b..1f18937dbd9 100644 --- a/configure.in +++ b/configure.in @@ -3125,19 +3125,36 @@ case $opsys in ;; esac -if test "$opsys" = hpux11; then - dnl SA_RESTART resets the timeout of `select', so don't use it. - AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not be used.]) - dnl It works to open the pty's tty in the parent (Emacs), then close - dnl and reopen it in the child. - AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it - works to open a pty's tty in the parent process, then close and - reopen it in the child.]) -fi +case $opsys in + gnu-* | sol2-10 ) + dnl FIXME Can't we test if this exists (eg /proc/$$)? + AC_DEFINE(HAVE_PROCFS, 1, [Define if you have the /proc filesystem.]) + ;; +esac + +case $opsys in + hpux11) + dnl SA_RESTART resets the timeout of `select', so don't use it. + AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not + be used.]) + dnl It works to open the pty's tty in the parent (Emacs), then + dnl close and reopen it in the child. + AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it + works to open a pty's tty in the parent process, then close and + reopen it in the child.]) + + opsysfile="s/hpux10-20.h" + ;; + + sol2-10) + AC_DEFINE(_STRUCTURED_PROC, 1, [Needed for system_process_attributes + on Solaris.]) + opsysfile="s/sol2-6.h" + ;; +esac case $opsys in gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;; - hpux11) opsysfile="s/hpux10-20.h" ;; openbsd) opsysfile="s/netbsd.h" ;; esac |