blob: d2d4f823f804b00c4689a8f3ecd62dfbc5706016 (
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
|
--- configure.orig Fri Feb 21 18:40:17 2003
+++ configure Fri Feb 21 18:43:08 2003
@@ -1389,19 +1389,17 @@
cgibindir=""
wwwroot=""
-for f in /home/httpd /usr/local/apache /usr/local/www /var/lib/httpd /var/www /usr/local/www /var/www
-do
- if test -d $f/html
- then
- wwwroot=$f/html
- fi
+if test "${enable_htmldir+set}" = set; then
+ enableval="$enable_htmldir"
+ wwwroot="$enableval"
+else
- if test -d $f/cgi-bin
- then
- cgibindir=$f/cgi-bin
- fi
-done
+ if test "$wwwroot" = ""
+ then
+ { echo "configure: error: Unable to find your html directory, specify --enable-htmldir." 1>&2; exit 1; }
+ fi
+fi
# Check whether --enable-cgibindir or --disable-cgibindir was given.
|