2004-04-18 14:24:35 +02:00
|
|
|
--- configure.orig Wed Sep 17 23:21:39 2003
|
|
|
|
+++ configure Sun Apr 18 13:50:48 2004
|
|
|
|
@@ -3355,19 +3355,15 @@
|
2003-05-15 15:47:22 +02:00
|
|
|
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
|
2004-04-18 14:24:35 +02:00
|
|
|
- then
|
2003-05-15 15:47:22 +02:00
|
|
|
- wwwroot=$f/html
|
|
|
|
- fi
|
2004-04-18 14:24:35 +02:00
|
|
|
-
|
2003-05-15 15:47:22 +02:00
|
|
|
- if test -d $f/cgi-bin
|
|
|
|
- then
|
|
|
|
- cgibindir=$f/cgi-bin
|
|
|
|
- fi
|
|
|
|
-done
|
2004-04-18 14:24:35 +02:00
|
|
|
-
|
|
|
|
+if test "${enable_htmldir+set}" = set; then
|
|
|
|
+ enableval="$enable_htmldir"
|
|
|
|
+ wwwroot="$enableval"
|
|
|
|
+else
|
|
|
|
+ if test "$wwwroot" = ""
|
|
|
|
+ then
|
|
|
|
+ { echo "configure: error: Unable to find your html directory, specify --enable-htmldir." 1>&2; exit 1; }
|
|
|
|
+ fi
|
2003-05-15 15:47:22 +02:00
|
|
|
+fi
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-cgibindir or --disable-cgibindir was given.
|