httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Patch for HP-UX 10.10 Configure
Date Tue, 09 Sep 1997 23:02:09 GMT
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!"

Mime
View raw message