Commit 8591521a authored by Erwan Jahier's avatar Erwan Jahier
Browse files

Always use linux as HOSTTYPE under linux

parent 6f1cc5bc
......@@ -14,21 +14,7 @@ unset LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
# Determine the system type
case `./config.guess` in
i*86-pc-linux-*)
case `gcc -dumpversion` in
5.*)
echo "HOST_TYPE=i386-linux-gcc3"
HOST_TYPE=i386-linux-gcc3 ;;
4.*)
echo "HOST_TYPE=i386-linux-gcc3"
HOST_TYPE=i386-linux-gcc3 ;;
3.*)
echo "HOST_TYPE=i386-linux-gcc3"
HOST_TYPE=i386-linux-gcc3 ;;
*)
echo "HOST_TYPE=i386-linux"
HOST_TYPE=i386-linux ;;
esac;;
i*86-pc-linux-*) HOST_TYPE=linux ;;
sparc-sun-solaris2.*) HOST_TYPE=sparc-sun ;;
i*86-*-cygwin) HOST_TYPE=cygwin ;;
i*86-apple*) HOST_TYPE=mac ;;
......@@ -366,9 +352,9 @@ AC_OUTPUT(Makefile.lurette set_env_var xlurette.sh lurettetop.sh show_luc.sh ge
install -D -v ../$HOSTTYPE/bin/* "$LURETTEPATH/bin/"
install -D -v ../$HOSTTYPE/lib/* "$LURETTEPATH/lib/"
install -D -v ../$HOSTTYPE/include/* "$LURETTEPATH/include/"
install -D -v ../$HOST_TYPE/bin/* "$LURETTEPATH/bin/"
install -D -v ../$HOST_TYPE/lib/* "$LURETTEPATH/lib/"
install -D -v ../$HOST_TYPE/include/* "$LURETTEPATH/include/"
install ./Makefile.lurette "$LURETTEPATH/lib/Makefile.lurette"
......
......@@ -57,7 +57,7 @@ fi
if test -z "$HOSTTYPE" ; then
HOSTTYPE=@HOSTTYPE@
HOSTTYPE=@HOST_TYPE@
export HOSTTYPE
fi
......
Supports Markdown
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