提交 063190a5 编写于 作者: M Marc G. Fournier

Add in support so that build will at least guess which template file

should be used :)
上级 23733026
......@@ -15,6 +15,16 @@ fi
ls template
TEMPLATE=generic
#
# Use the file template/.similar to find an appropriate file
# We get the architecture from the config.guess script.
#
CONFIG=`./config.guess`
GUESS=`grep $CONFIG template/.similar 2>/dev/null`
if [ $GUESS ]; then
TEMPLATE=`echo $GUESS | sed 's/.*=//'`
fi
$ECHO_N "Appropriate template file [$TEMPLATE]: $ECHO_C"
read a
if [ "$a." = " ." ]
......
sparc-sun-solaris2.5=sparc_solaris-gcc
i386-unknown-freebsd3.0=freebsd
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册