summaryrefslogtreecommitdiff
path: root/www/analog/files/patch-aa
blob: c8c0555cdb40fdf4718b7cfd245c5f0f973c8c10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
*** Makefile.orig	Wed Mar  6 15:12:05 1996
--- Makefile	Sun Jun  9 12:27:55 1996
***************
*** 2,8 ****
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use. NB Different compilers need
                     # different CFLAGS, e.g., -O instead of -O2.
! CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  LIBS = -lm         # extra libraries needed
  PAGER = less       # Your favourite pager program, e.g. more
  
--- 2,8 ----
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use. NB Different compilers need
                     # different CFLAGS, e.g., -O instead of -O2.
! #CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  LIBS = -lm         # extra libraries needed
  PAGER = less       # Your favourite pager program, e.g. more
  
***************
*** 16,21 ****
--- 16,23 ----
  FORMSRC = analform.c        # The source code for that program
  FORMHTML = analogform.html  # Where the form itself will go
  FORMOPTS =                  # Extra analog options when constructing the form
+ 
+ all: $(PROGRAM)
  
  $(PROGRAM): $(OBJS) $(HEADERS) Makefile
  	$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)

*** analform.c.orig	Wed Apr 10 08:57:01 1996
--- analform.c	Sun Jun  9 12:45:57 1996
***************
*** 6,12 ****
  
  /* You must change the next line to indicate where the analog program lives */
  
! #define COMMAND "/usr/local/etc/httpd/analog/analog"
  #define MAXARGLENGTH (2048)   /* should be plenty */
  #define OK (0)
  #define ERR (-1)
--- 6,12 ----
  
  /* You must change the next line to indicate where the analog program lives */
  
! #define COMMAND "/usr/local/bin/analog"
  #define MAXARGLENGTH (2048)   /* should be plenty */
  #define OK (0)
  #define ERR (-1)