Branch: Tag:

1995-08-17

1995-08-17 09:35:27 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

64 bittar och b{ttre bsd fd tjafs..

Rev: lib/simulate.lpc:1.2
Rev: src/BUGS:1.2
Rev: src/Makefile.in:1.3
Rev: src/array.c:1.2
Rev: src/backend.c:1.2
Rev: src/configure.in:1.3
Rev: src/docode.c:1.2
Rev: src/interpret.c:1.2
Rev: src/language.y:1.2
Rev: src/las.h:1.2
Rev: src/lex.c:1.2
Rev: src/list.c:1.2
Rev: src/macros.h:1.2
Rev: src/main.c:1.4
Rev: src/mapping.c:1.2
Rev: src/modules/files/file.c:1.2
Rev: src/modules/files/socket.c:1.2
Rev: src/modules/regexp/regexp.c:1.2
Rev: src/opcodes.c:1.2
Rev: src/port.c:1.3
Rev: src/port.h:1.3
Rev: src/program.c:1.2
Rev: src/rusage.c:1.2
Rev: src/stralloc.c:1.2
Rev: src/stralloc.h:1.2
Rev: src/svalue.c:1.2

44:   AC_CONFIG_HEADER(machine.h)   AC_PROG_INSTALL   AC_PROG_YACC + if test "$ac_cv_prog_YACC" != "bison -y"; then +  echo PANIC! Bison not found! Exiting... +  exit 1 + fi +    AC_PROG_CPP   AC_PROG_RANLIB   AC_SET_MAKE
262:   AC_MSG_CHECKING(unaligned read/writes)   AC_CACHE_VAL(lpc_cv_hardware_unalignedRW,   [ + if test -x /usr/bin/uac ; then +  /usr/bin/uac p sigbus + fi    -  +    AC_TRY_RUN([   int main()   {
415:   int main()   {    FILE *f; -  int limit; - #ifdef HAVE_GETRLIMIT +  long limit; + #if !defined(RLIMIT_NOLIMIT) && defined(RLIMIT_OFILE) + #define RLIMIT_NOFILE RLIMIT_OFILE + #endif + #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE)    struct rlimit lim;       if(getrlimit(RLIMIT_NOFILE,&lim))    {    limit = MAX_FD;    }else{ -  limit = lim.rlim_max; -  if(limit == RLIM_INFINITY) +  if(lim.rlim_max == RLIM_INFINITY) +  {    limit=16384; /* noone needs more */ -  +  }else{ +  limit=lim.rlim_max; +  if(limit > 16384) limit=16384;    } -  +  }   #else    limit = MAX_FD;   #endif          f=fopen("conftest.out.2","w"); -  fprintf(f,"%ld\n",(long)lim.rlim_max); +  fprintf(f,"%ld\n",(long)limit);    fclose(f);       return 0;
599:   module_names=   for a in `(cd $srcdir/modules ; echo *)`   do -  if test "$a" != "CVS" ; then +  if test "$a" != "CVS" -a "$a" != "RCS"; then    if test -d "$srcdir/modules/$a" ; then    dirs="$dirs modules/$a"    MODULE_OBJS="$MODULE_OBJS modules/$a/$a.a"