In apache-1.3, configure is hand-written, not generated. It creates
a config.status which holds the last invocation switches, so you can
easily re-configure with the same switches (alas, the environment is
not frozen, and you can override the behavior of configure via
environment variables, and thus the reproduceability and documentation
of the current configuration settings in config.status is somewhat
pointless. But that is "compatible" with GNU-generated configures).

If you ever had several apache directories in parallel, building for
different scenarios, you may have wished that config.status  (or
configure for that matter) would print the actual "--prefix" setting,
for example, so that you could control whether you invoked the right
script.

The following patch does just that: it prints all overridden path
settings, so that you can control easily if you configured the right
server ;-)

   Martin
-- 
<[EMAIL PROTECTED]>    |       Fujitsu Siemens
       <[EMAIL PROTECTED]>              |   81730  Munich,  Germany
Index: configure
===================================================================
RCS file: /home/cvs/apache-1.3/configure,v
retrieving revision 1.131
diff -u -r1.131 configure
--- configure   2001/02/07 20:52:17     1.131
+++ configure   2001/02/26 20:01:07
@@ -636,66 +636,114 @@
         --prefix=*)
             prefix="$apc_optarg"
             autosuffix_prefix=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation prefix: $apc_optarg"
+            fi
             ;;
         --exec-prefix=*)
             exec_prefix="$apc_optarg"
             autosuffix_exec_prefix=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation exec-prefix: $apc_optarg"
+            fi
             ;;
         --bindir=*)       
             bindir="$apc_optarg"
             autosuffix_bindir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation bindir: $apc_optarg"
+            fi
             ;;
         --sbindir=*)       
             sbindir="$apc_optarg"
             autosuffix_sbindir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation sbindir: $apc_optarg"
+            fi
             ;;
         --libexecdir=*)
             libexecdir="$apc_optarg"    
             autosuffix_libexecdir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation libexecdir: $apc_optarg"
+            fi
             ;;
         --mandir=*)        
             mandir="$apc_optarg"        
             autosuffix_mandir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation mandir: $apc_optarg"
+            fi
             ;;
         --sysconfdir=*)    
             sysconfdir="$apc_optarg"    
             autosuffix_sysconfdir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation sysconfdir: $apc_optarg"
+            fi
             ;;
         --datadir=*)       
             datadir="$apc_optarg"       
             autosuffix_datadir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation datadir: $apc_optarg"
+            fi
             ;;
         --iconsdir=*) 
             iconsdir="$apc_optarg" 
             autosuffix_iconsdir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation datadir: $apc_optarg"
+            fi
             ;;
         --htdocsdir=*) 
             htdocsdir="$apc_optarg" 
             autosuffix_htdocsdir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation htdocsdir: $apc_optarg"
+            fi
             ;;
         --cgidir=*) 
             cgidir="$apc_optarg" 
             autosuffix_cgidir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation cgidir: $apc_optarg"
+            fi
             ;;
         --includedir=*)       
             includedir="$apc_optarg"       
             autosuffix_includedir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation includedir: $apc_optarg"
+            fi
             ;;
         --localstatedir=*) 
             localstatedir="$apc_optarg" 
             autosuffix_localstatedir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation localstatedir: $apc_optarg"
+            fi
             ;;
         --runtimedir=*) 
             runtimedir="$apc_optarg" 
             autosuffix_runtimedir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation runtimedir: $apc_optarg"
+            fi
             ;;
         --logfiledir=*) 
             logfiledir="$apc_optarg" 
             autosuffix_logfiledir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation logfiledir: $apc_optarg"
+            fi
             ;;
         --proxycachedir=*) 
             proxycachedir="$apc_optarg" 
             autosuffix_proxycachedir=no
+            if [ "x$quiet" = "xno" ]; then
+                echo " + using installation proxycachedir: $apc_optarg"
+            fi
             ;;
         --add-module=*) 
             file="$apc_optarg"

Reply via email to