jim 98/03/13 16:08:57
Modified: src Configure
Log:
Wrap the saved "CFLAGS -D" entries to allow external
modules to overrule values and cut down on redef. warnings
Revision Changes Path
1.208 +2 -1 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -r1.207 -r1.208
--- Configure 1998/03/13 23:44:41 1.207
+++ Configure 1998/03/14 00:08:56 1.208
@@ -1201,7 +1201,8 @@
}
/^-D.*/ {
split(substr($1,3,length($1)),parts,"=")
- printf ("#define %s %s\n",parts[1],parts[2])
+ printf ("#ifndef %s\n#define %s %s\n#endif\n",
+ parts[1],parts[1],parts[2])
}
'