Commit 4cf98b83 by Richard Stallman

entered into RCS

From-SVN: r1621
parent a8b17b3d
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
# #
# See README-fixinc for more information. # See README-fixinc for more information.
# Directory where gcc sources (and sometimes special include files) live.
SRCDIR=${3-${SRCDIR-.}}
# Directory containing the original header files. # Directory containing the original header files.
INPUT=${2-${INPUT-/usr/include}} INPUT=${2-${INPUT-/usr/include}}
...@@ -55,7 +58,7 @@ cd $LIB; LIB=`pwd` ...@@ -55,7 +58,7 @@ cd $LIB; LIB=`pwd`
# This prevents /bin/ex from failing if the current terminal type is # This prevents /bin/ex from failing if the current terminal type is
# unrecognizable. # unrecognizable.
TERM=unknown TERM=dumb
export TERM export TERM
echo 'Building fixincludes in ' ${LIB} echo 'Building fixincludes in ' ${LIB}
...@@ -950,7 +953,7 @@ cd ${ORIG_DIR} ...@@ -950,7 +953,7 @@ cd ${ORIG_DIR}
echo 'Replacing <sys/byteorder.h>' echo 'Replacing <sys/byteorder.h>'
rm -f ${LIB}/sys/byteorder.h rm -f ${LIB}/sys/byteorder.h
cp byteorder.h ${LIB}/sys/byteorder.h cp ${SRCDIR}/byteorder.h ${LIB}/sys/byteorder.h
exit 0 exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment