3 # First, test normal config.
5 echo Normal config failed.
9 # Now, remove one HAVE_ at a time.
10 cp config.h original-config.h
11 trap "mv original-config.h config.h && rm -f .newconfig" EXIT
13 while grep -q '1$' config.h; do
14 tr '\012' @ < config.h | sed 's/1@/0@/' | tr @ '\012' > .newconfig
15 diff -u config.h .newconfig
16 mv .newconfig config.h