Commit 063190a5 authored by Marc G. Fournier's avatar Marc G. Fournier

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

should be used :)
parent 23733026
...@@ -15,6 +15,16 @@ fi ...@@ -15,6 +15,16 @@ fi
ls template ls template
TEMPLATE=generic 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" $ECHO_N "Appropriate template file [$TEMPLATE]: $ECHO_C"
read a read a
if [ "$a." = " ." ] if [ "$a." = " ." ]
......
sparc-sun-solaris2.5=sparc_solaris-gcc
i386-unknown-freebsd3.0=freebsd
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