jim 97/08/24 09:40:01
Modified: src Configuration.tmpl Configure
Log:
Configuration suite: We now simply note when a module has ConfigStart/End
lines. We only print them out if we've set the (newly added) Rule
PARANOID to 'yes'
Revision Changes Path
1.74 +10 -1 apachen/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apachen/src/Configuration.tmpl,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- Configuration.tmpl 1997/08/21 18:12:16 1.73
+++ Configuration.tmpl 1997/08/24 16:39:58 1.74
@@ -57,7 +57,7 @@
# functions. The format is: Rule RULE=value
#
# At present, only the following RULES are known: WANTHSREGEX, SOCKS4,
-# STATUS, IRIXNIS and IRIXN32
+# STATUS, IRIXNIS, IRIXN32 and PARANOID
#
# For all Rules, if set to "yes", then Configure knows we want that
# capability and does what is required to add it in. If set to "default"
@@ -84,11 +84,20 @@
# If you are running a version of IRIX and Configure detects
# n32 libraries, it will use those instead of the o32 ones.
#
+# PARANOID:
+# New with version 1.3, during Configure modules can run
+# pre-programmed shell commands in the same environment that
+# Configure runs in. This allows modules to control how Configure
+# works. Normally, Configure will simply note that a module
+# is performing this function. If PARANOID is set to yes, it will
+# actually print-out the code that the modules execute
+#
Rule STATUS=yes
Rule SOCKS4=no
Rule IRIXNIS=no
Rule IRIXN32=yes
+Rule PARANOID=no
# The following rules should be set automatically by Configure. However, if
# they are not set by Configure (because we don't know the correct value for
1.139 +5 -0 apachen/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apachen/src/Configure,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- Configure 1997/08/23 04:00:19 1.138
+++ Configure 1997/08/24 16:39:59 1.139
@@ -130,6 +130,7 @@
RULE_SOCKS4=`./helpers/CutRule SOCKS4 $file`
RULE_IRIXNIS=`./helpers/CutRule IRIXNIS $file`
RULE_IRIXN32=`./helpers/CutRule IRIXN32 $file`
+RULE_PARANOID=`./helpers/CutRule PARANOID $file`
####################################################################
# Preset some "constants"; can be overridden on a per-platform basis below.
@@ -769,6 +770,10 @@
&& grep "ConfigEnd" $tmpfile2 > /dev/null; then
sed '1,/ConfigStart/d;/ConfigEnd/,$d' $tmpfile2 > \
$tmpfile3
+ echo " o $modname uses ConfigStart/End:"
+ if [ "$RULE_PARANOID" = "yes" ]; then
+ sed 's/^/>> /' $tmpfile3
+ fi
. ./$tmpfile3
fi
rm -f $tmpfile2 $tmpfile3