2000-03-19 Roland McGrath <roland@baalperazim.frob.com>

* Makeconfig (soversion.i): Pass -undef to $(CC) -E.
This commit is contained in:
Roland McGrath 2000-03-20 01:01:15 +00:00
parent 460adbb847
commit f1be66a1d4

View File

@ -683,7 +683,7 @@ $(common-objpfx)soversions.i: $(..)shlib-versions $(..)Makeconfig \
$(common-objpfx)config.make $(common-objpfx)config.make
sed -e 's/#.*$$//;s/^[ ]*%/#/' \ sed -e 's/#.*$$//;s/^[ ]*%/#/' \
$(filter-out $(..)Makeconfig $(common-objpfx)config.make,$^) \ $(filter-out $(..)Makeconfig $(common-objpfx)config.make,$^) \
| $(CC) -include $(common-objpfx)config.h -E -x c - \ | $(CC) -E -undef -include $(common-objpfx)config.h -x c - \
| while read conf version setname; do \ | while read conf version setname; do \
test -n "$$version" && \ test -n "$$version" && \
test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \ test `expr '$(config-machine)-$(config-vendor)-$(config-os)' \