]>
Commit | Line | Data |
---|---|---|
4f38f6b0 | 1 | --- detex-2.7/Makefile |
2 | +++ detex-2.7/Makefile | |
3 | @@ -17,7 +17,7 @@ | |
4 | # Compile time flags, just uncomment the necessary lines | |
5 | # Some say GNU make does not correctly handle += -- you may have to use := | |
6 | # | |
7 | -DEFS = | |
8 | +#DEFS = | |
9 | # | |
10 | # Add -traditional for GNU cc on ISC 386/ix system and possibly others | |
11 | # (reported by pinard@iro.umontreal.ca) | |
12 | @@ -26,7 +26,7 @@ | |
13 | # | |
14 | # Add -DHAVE_STRING_H for the SysV string manipulation routines | |
15 | # | |
16 | -#DEFS += ${DEFS} -DHAVE_STRING_H | |
17 | +DEFS = -DHAVE_STRING_H | |
18 | # | |
19 | # Add -DMAXPATHLEN=<length> if it is not defined in /usr/include/sys/param.h | |
20 | # | |
21 | @@ -67,7 +67,7 @@ | |
22 | all: ${PROGS} | |
23 | ||
24 | detex: ${D_OBJ} | |
25 | - ${CC} ${CFLAGS} -o $@ ${D_OBJ} -ll | |
26 | + ${CC} ${CFLAGS} -o $@ ${D_OBJ} -lfl | |
27 | ||
28 | detex.c: | |
29 | sed -f states.sed detex.l > xxx.l | |
30 | --- detex-2.7/detex.h | |
31 | +++ detex-2.7/detex.h | |
32 | @@ -21,7 +21,7 @@ | |
33 | #define DEFAULTINPUTS ".:/usr/local/tex/inputs" | |
34 | #define CHPATHSEP ':' | |
35 | #endif | |
36 | -#define MAXINPUTPATHS 10 | |
37 | +#define MAXINPUTPATHS 30 | |
38 | ||
39 | #define DEFAULTENV "array,eqnarray,equation,figure,mathmatica,picture,table,verbatim" | |
40 | #define CHENVSEP ',' |