jim 97/09/06 17:34:05
Modified: src Configure
Log:
Finally fix Solaris 251 awk problem. It didn't like 'if (.. in ..)'
so we do 'for (.. in ..)' and loop around. Ugly.
Revision Changes Path
1.150 +8 -3 apachen/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apachen/src/Configure,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- Configure 1997/09/06 23:38:39 1.149
+++ Configure 1997/09/07 00:34:03 1.150
@@ -888,10 +888,15 @@
for (i = 0; i < n; ++i) {
split (modules[i], pp, "/")
dir = pp[1] "/" pp[2]
- if ( dir in autodirs )
+ inthere = 0
+ for ( tdir in autodirs ) {
+ if (tdir == dir)
+ inthere = 1
+ }
+ if (inthere == 1)
continue
else
- printf (" %s \\\n", modules[i]);
+ printf (" %s \\\n", modules[i])
}
}
EOF2
@@ -905,7 +910,7 @@
split ("$AUTOLIBS", libs)
EOF3
cat >> $awkfile <<'EOF4'
- z = 0;
+ z = 0
for ( lib in libs ) {
if (z != 0)
printf (" \\\n")