mjc 96/07/25 01:56:28
Modified: src/regex Makefile utils.h Log: Fixes to get regex library to at least compile on IRIX. Perhaps this sort of stuff should be propagated down when Configure is run. Revision Changes Path 1.2 +2 -0 apache/src/regex/Makefile Index: Makefile =================================================================== RCS file: /export/home/cvs/apache/src/regex/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C3 -r1.1 -r1.2 *** Makefile 1996/07/23 22:06:40 1.1 --- Makefile 1996/07/25 08:56:26 1.2 *************** *** 1,3 **** --- 1,5 ---- + SHELL = /bin/sh + # You probably want to take -DREDEBUG out of CFLAGS, and put something like # -O in, *after* testing (-DREDEBUG strengthens testing by enabling a lot of # internal assertion checking and some debugging facilities). 1.2 +4 -0 apache/src/regex/utils.h Index: utils.h =================================================================== RCS file: /export/home/cvs/apache/src/regex/utils.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C3 -r1.1 -r1.2 *** utils.h 1996/07/23 22:06:48 1.1 --- utils.h 1996/07/25 08:56:26 1.2 *************** *** 1,4 **** --- 1,8 ---- /* utility definitions */ + #ifndef _POSIX2_RE_DUP_MAX + #define _POSIX2_RE_DUP_MAX 255 + #endif + #define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ #define INFINITY (DUPMAX + 1) #define NC (CHAR_MAX - CHAR_MIN + 1)