Skip to content
Snippets Groups Projects
Commit 9363510a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Initial revision

parent 84ce62c8
No related branches found
No related tags found
No related merge requests found
Config 0 → 100755
#!/bin/sh
[ -d include ] || mkdir include
case "$1" in
balance) ln -s ../config/balance-config.h include/m-config.h;;
sun4) ln -s ../config/sun4os4-config.h include/m-config.h;;
*) echo Unknown host $1.;;
exit 1
esac
TOPDIR = /usr/lyskom
SCRIPTDIR = $(TOPDIR)/scripts
include $(SCRIPTDIR)/import.make
includes: $(INCLUDE-DIR)/m-config.h
@echo You must run Config before Build or make.
exit 1
libraries:;
binaries:;
clean:
$(RM) $(GENERIC-CLEAN)
depend:;
/*
* $Id: balance-config.h,v 1.1 1991/08/30 01:28:07 ceder Exp $
*
* This is a generic configuration file for LysKOM.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
/* #define BUGGY_INET_NTOA */
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*/
#define MAX_OPEN_FD 16
/* No LOCALE here.. */
/* #define HAVE_LOCALE */
/*
* $Id: config-template.h,v 1.1 1991/08/30 01:28:04 ceder Exp $
*
* This is a generic configuration file for LysKOM.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
#define BUGGY_INET_NTOA
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*/
#include <limits.h>
#ifdef _POSIX_OPEN_MAX
#define MAX_OPEN_FD _POSIX_OPEN_MAX
#else
#define MAX_OPEN_FD 16
#endif
/*
* Define HAVE_LOCALE if you have it (and want to use it).
*/
#define HAVE_LOCALE
/*
* $Id: sun4os4-config.h,v 1.1 1991/08/30 01:27:59 ceder Exp $
*
* Configure LysKOM for a Sun Sparc-server running SunOS 4.1.1.
* This is the configuration we are running at Lysator, so this is
* fairly well tested.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
#define BUGGY_INET_NTOA
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*
* It is possible to boost this value to 256 if you remake the kernel
* (I think). 58 connections is enough.
*/
#define MAX_OPEN_FD 64
/* We have LOCALE. */
#define HAVE_LOCALE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment