You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 1997/09/10 01:02:09 UTC

Patch for HP-UX 10.10 Configure

Try this:
Index: apachen/src/Configure
===================================================================
RCS file: /export/home/cvs/apachen/src/Configure,v
retrieving revision 1.151
diff -u -r1.151 Configure
--- Configure	1997/09/09 22:33:53	1.151
+++ Configure	1997/09/09 23:00:58
@@ -1034,17 +1034,19 @@
 
 	cat Makefile.config > $moddir/Makefile
 	basedir=`echo $moddir | sed 's/^[^/]*\///g'`
-	awk >> $moddir/Makefile < $tmpfile '
+	cat > $awkfile <<EOF
 	    BEGIN {
 		printf "OBJS="
 	    }
-	    ($1 == "Module" && $3 ~ /^modules\/'$basedir'\//) { 
-		split ($3, pp, "/")
+	    (\$1 == "Module" && \$3 ~ /^modules\\/$basedir\\//) { 
+		split (\$3, pp, "/")
 		printf "%s ", pp[3] 
 	    } 
 	    END {
-		printf "\n"
-	    }'
+		printf "\\n"
+	    }
+EOF
+	awk -f $awkfile >> $moddir/Makefile < $tmpfile
 
 	echo "LIB=lib$basedir.a" >> $moddir/Makefile
 	cat << 'EOF' >> $moddir/Makefile
-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
            "Look at me! I'm wearing a cardboard belt!"