jim 97/11/04 17:04:54
Modified: src Configure
Log:
Old shells don't understand '!'
Revision Changes Path
1.167 +6 -2 apachen/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apachen/src/Configure,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- Configure 1997/11/03 04:33:17 1.166
+++ Configure 1997/11/05 01:04:52 1.167
@@ -104,9 +104,12 @@
# and issue a notice about it.
#
-test ! -d /usr/local/etc/httpd/ \
- || if ! egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null
+if [ -d /usr/local/etc/httpd/ ]
+then
+ if egrep '^EXTRA_CFLAGS.*HTTPD_ROOT' $file >/dev/null
then
+ :
+ else
echo " | Please note that the default httpd root directory has changed"
echo " | from '/usr/local/etc/httpd/' to '/usr/local/apache/.'"
echo " | You may add '-DHTTPD_ROOT=\\\"/usr/local/etc/httpd\\\"' to
EXTRA_CFLAGS"
@@ -114,6 +117,7 @@
echo " | httpd with the option '-d /usr/local/etc/httpd' if you still"
echo " | want to use the old root directory for your server."
fi
+fi
####################################################################
# Start creating the Makefile. We add some comments and