Commit 5d4a5ee6 by Jeff Law

Final changes from devo<->egcs merge.

Final changes from devo<->egcs merge.  Ugh, a year of configury/Makefile
hacking.

From-SVN: r23012
parent fdb8a883
...@@ -53,9 +53,6 @@ mvcmd="$mvprog" ...@@ -53,9 +53,6 @@ mvcmd="$mvprog"
src="" src=""
dst="" dst=""
dir_arg="" dir_arg=""
# CYGNUS LOCAL: exeext variable
exeext=""
# END CYGNUS LOCAL
while [ x"$1" != x ]; do while [ x"$1" != x ]; do
case $1 in case $1 in
...@@ -94,16 +91,6 @@ while [ x"$1" != x ]; do ...@@ -94,16 +91,6 @@ while [ x"$1" != x ]; do
shift shift
continue;; continue;;
# CYGNUS LOCAL: -x option
-x=*) exeext=`echo $1 | sed 's/-x=//'`
shift
continue;;
-x) exeext=".exe"
shift
continue;;
# END CYGNUS LOCAL
*) if [ x"$src" = x ] *) if [ x"$src" = x ]
then then
src=$1 src=$1
...@@ -137,22 +124,6 @@ if [ x"$dir_arg" != x ]; then ...@@ -137,22 +124,6 @@ if [ x"$dir_arg" != x ]; then
fi fi
else else
# CYGNUS LOCAL noer
# Win32-based gcc automatically appends .exe to produced executables,
# whether asked for or not. This breaks installs. The following
# changes the value of $src to $src.exe if $src is missing
if [ -f $src ]
then
true
elif [ -f $src.exe ]
then
echo "install: $src does not exist, trying with .exe appended"
src="$src".exe
fi
# end CYGNUS LOCAL noer
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad # might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'. # if $src (and thus $dsttmp) contains '*'.
...@@ -182,13 +153,6 @@ else ...@@ -182,13 +153,6 @@ else
else else
true true
fi fi
# CYGNUS LOCAL: Use exeext
case "`basename $dst`" in
*.*) ;;
*) dst="$dst$exeext" ;;
esac
# END CYGNUS LOCAL
fi fi
## this sed command emulates the dirname command ## this sed command emulates the dirname command
......
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