summaryrefslogtreecommitdiffstats
path: root/www/analog/files/patch-aa
blob: b146bfa8047b5c6214546722842fec2629a08930 (plain)
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
--- Makefile.orig	Sun Aug  4 09:19:11 1996
+++ Makefile	Sun Aug  4 09:20:41 1996
@@ -2,7 +2,7 @@
 # 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.
+#CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
 DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
 OS = UNIX          # Operating system: UNIX, DOS, MAC or VMS
 LIBS = -lm         # extra libraries needed; Solaris 2 (SunOS 5) needs
@@ -21,6 +21,8 @@
 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	Sat Jul 13 14:47:55 1996
+++ analform.c	Sun Aug  4 09:16:42 1996
@@ -11,7 +11,7 @@
 
 /* You must change the next line to indicate where the analog program lives */
 
-#define COMMAND "/usr/local/etc/httpd/analog/analog"
+#define COMMAND "/usr/local/bin/analog"
 #define MAXARGLENGTH (2048)   /* should be plenty */
 #define OK (0)
 #define ERR (-1)
OpenPOWER on IntegriCloud