Get rid of "Sanitize for-fsf" stuff; it didn't get the right results.
This commit is contained in:
parent
52e3ad8772
commit
8ae559b758
26
.Sanitize
26
.Sanitize
|
@ -182,32 +182,6 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
if ( echo $* | grep for\-fsf > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Cleaning up configure.in for FSF release...
|
||||
fi
|
||||
sed '/start\-sanitize\-for\-fsf/,/end\-sanitize\-for\-fsf/d' < configure.in > new
|
||||
if [ -n "${safe}" -a ! -f .Recover/$i ]; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Caching configure.in in .Recover...
|
||||
fi
|
||||
mv configure.in .Recover
|
||||
fi
|
||||
mv new configure.in
|
||||
else
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Removing sanitize-for-fsf markers from configure.in...
|
||||
fi
|
||||
grep -v sanitize-for-fsf < configure.in > new
|
||||
if [ -n "${safe}" ]; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Caching configure.in in .Recover...
|
||||
fi
|
||||
mv configure.in .Recover
|
||||
fi
|
||||
mv new configure.in
|
||||
fi
|
||||
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
||||
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
||||
|
|
|
@ -157,13 +157,9 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
## start-sanitize-for-fsf
|
||||
|
||||
# Remove more programs from consideration, based on the host or
|
||||
# target this usually means that a port of the program doesn't
|
||||
# exist yet. This section gets removed for FSF releases,
|
||||
# where we want the configure scripts in the subdirectories to
|
||||
# complain if the target or host isn't supported.
|
||||
# exist yet.
|
||||
|
||||
noconfigdirs=""
|
||||
|
||||
|
@ -271,8 +267,6 @@ if [ x"${notsupp}" != x ]; then
|
|||
echo " (Any other directories should still work fine.)" 1>&2
|
||||
fi
|
||||
|
||||
## end-sanitize-for-fsf
|
||||
|
||||
# Set with_gnu_as and with_gnu_ld as appropriate.
|
||||
#
|
||||
# This is done by determining whether or not the appropriate directory
|
||||
|
|
Loading…
Reference in New Issue