httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@gbiv.com>
Subject trunk makefile echoing modules
Date Fri, 11 Nov 2011 01:08:16 GMT
I am getting the following on OS X Lion:

Installing configuration files
/bin/sh: ,authn_file,: command not found
/bin/sh: ,authn_dbm,: command not found
/bin/sh: ,authn_anon,: command not found
/bin/sh: ,authn_dbd,: command not found
/bin/sh: ,authn_socache,: command not found
/bin/sh: ,authn_core,: command not found
/bin/sh: ,authz_host,: command not found
/bin/sh: ,authz_groupfile,: command not found
/bin/sh: ,authz_user,: command not found
/bin/sh: ,authz_dbm,: command not found
...

I am guessing it has something to do with 

------------------------------------------------------------------------
r1200064 | sf | 2011-11-09 16:41:20 -0800 (Wed, 09 Nov 2011) | 2 lines
Changed paths:
   M /httpd/httpd/trunk/Makefile.in
   M /httpd/httpd/trunk/acinclude.m4

Fix selection of loaded modules on AIX because its grep doesn't understand \< and \>

------------------------------------------------------------------------
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 1200063)
+++ Makefile.in	(revision 1200064)
@@ -60,7 +60,7 @@
 	    				< $$i; \
 	    			for j in $(DSO_MODULES) "^EOL^"; do \
 	    				if test $$j != "^EOL^"; then \
-	    					if echo "$(ENABLED_DSO_MODULES)"|$(EGREP) "\<$$j\>" > /dev/null ; then
\
+	    					if echo ",$(ENABLED_DSO_MODULES),"|$(EGREP) ",$$j," > /dev/null ; then \
 	    						loading_disabled=""; \
 	    					else \
 	    						loading_disabled="#"; \
Index: acinclude.m4
===================================================================
--- acinclude.m4	(revision 1200063)
+++ acinclude.m4	(revision 1200064)
@@ -257,7 +257,7 @@
             # add default MPM to LoadModule list
             if test $1 = $default_mpm; then
                 DSO_MODULES="$DSO_MODULES mpm_$1"
-                ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES mpm_$1"
+                ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},mpm_$1"
             fi
         fi
         $4
@@ -360,7 +360,7 @@
       shared=yes
       DSO_MODULES="$DSO_MODULES $1"
       if test "$_apmod_required" = "yes" ; then
-        ENABLED_DSO_MODULES="$ENABLED_DSO_MODULES $1"
+        ENABLED_DSO_MODULES="${ENABLED_DSO_MODULES},$1"
       fi
       ;;
     esac


Mime
View raw message