From 97ef1ef17a506d911711cf1e1caeec9305373d6a Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 26 Aug 2004 11:58:04 +0000 Subject: Fixed support for LynxOS 3.1 (LynxOS 4 will follow) (Thomas Mueller). 2 --- lynx.cf | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/lynx.cf b/lynx.cf index a00fe78..9ac9b6f 100644 --- a/lynx.cf +++ b/lynx.cf @@ -51,6 +51,8 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe # define HasLibCrypt NO #endif #define HasPutenv YES +#define HasSutenv NO +#define HasSnprintf NO #define HasShm YES #define HasSockets YES #define HasVFork NO @@ -70,12 +72,21 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe # define USE_MACHINE_ABSOLUTE #endif +/* At least on x86 we're seeing spurious server crashes when + * using signals (SmartScheduler, SilkenMouse) starting with + * LynxOS 3.1.0. + */ #if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion == 1) # ifndef UseSmartScheduler # define UseSmartScheduler NO # endif #endif +#ifdef UseSmartScheduler +/* pull in real sigio in os-support instead of sigiostubs */ +# define AllowSIGIO YES +#endif + #define HasPosixThreads YES #define ThreadedX YES #define HasThreadSafeAPI YES @@ -125,7 +136,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe # define CcCmd gcc # endif # if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion == 5) -# define DefaultCCOptions -ansi -pedantic -fcommon GccWarningOptions +# if defined(UseInstalled) +# define DefaultCCOptions -fcommon -D__NO_INCLUDE_WARN__ +# else +# define DefaultCCOptions -ansi -pedantic -fcommon -D__NO_INCLUDE_WARN__ GccWarningOptions +# endif # endif #else # define CplusplusCmd g++ @@ -141,6 +156,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe #else # define CppCmd /bin/cpp #endif +#define RawCppCmd CppCmd #if !CrossCompiling #define YaccCmd bison -y /* make sure we take the right flex on 2.3.0 and 2.4.0 */ @@ -312,13 +328,11 @@ install.man:: file.$(MANNEWSUFFIX) @@\ #define InstallManPageAliases(file,destdir,aliases) @@\ InstallHtmlManPageAliases(file,aliases,$(MANSUFFIX)) @@\ @@\ -CppManTarget(file, $(EXTRAMANDEFS)) @@\ - @@\ install.man:: @@\ @(SUFFIX=`echo $(DESTDIR)destdir/file.* | cut -f2,3 -d.`; \ @@\ for i in aliases; do (set -x; \ @@\ $(RM) $(DESTDIR)destdir/$$i.*; \ @@\ - (cd $(DESTDIR)destdir; $(LN) -s file.$${SUFFIX} \ @@\ + (cd $(DESTDIR)destdir; $(LN) file.$${SUFFIX} \ @@\ $$i.$${SUFFIX})); \ @@\ echo $$i dest $(MANSUFFIX) >> $(DESTDIR)destdir/LIST$(MANSUFFIX); \ @@\ done) -- cgit v1.2.3