summaryrefslogtreecommitdiff
path: root/www/ap-dtcl/patches/patch-aa
blob: 5d40418ef646ed9b6e386ac1cd1fb6e7927ef9d0 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-aa,v 1.8 2002/05/21 12:04:42 wiz Exp $

--- builddtcl.sh.orig	Tue Oct  9 17:29:47 2001
+++ builddtcl.sh
@@ -3,53 +3,2 @@
 
-# Name of tclsh - on FreeBSD, this is probably tclsh8.2
-TCLSH=tclsh  ######### CHANGEME ##########
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-TCLSH=`which $TCLSH`
-
-if [ "$TCLSH" = "" ]
-    then
-    echo "No tclsh executable, please edit builddtcl.sh"
-    exit 1
-fi
-
-TCLSHEXIST=`echo "puts helloworld" | $TCLSH`
-if [ "$TCLSHEXIST" != "helloworld" ]
-    then
-    echo "Tclsh is not $TCLSH, please edit builddtcl.sh"
-    exit 1
-    else
-    echo "Using $TCLSH as tclsh program"
-fi
-
-# Location of Apache source install (for static installs - you can
-# comment this out for shared lib installs
-# APACHE=$HOME/download/apache-1.3/  ######### CHANGEME ##########
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-# APACHE=/usr/local/src/apache-1.3/
-# APACHE=/
-
-export APACHE
-
-if [ -d $APACHE ]
-    then
-    echo "Apache in $APACHE"
-    else
-    echo "Apache NOT in $APACHE, please edit builddtcl.sh"
-    exit 1
-fi
-
-# Location of Apache include files.
-INC=/usr/include/apache-1.3/  ######### CHANGEME ##########
-# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-# INC=$APACHE/src/include
-
-if [ -f $INC/httpd.h ] 
-    then
-    echo "Apache includes in $INC"
-    INCLUDES="-I$INC" ; export INCLUDES
-    else
-    echo "Apache include files *not* in $INC, please edit builddtcl.sh"
-    exit 1
-fi
-
 # find location of tclConfig.sh, source it, and export variables to