We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2373302 commit 063190aCopy full SHA for 063190a
src/build
@@ -15,6 +15,16 @@ fi
15
16
ls template
17
TEMPLATE=generic
18
+#
19
+# Use the file template/.similar to find an appropriate file
20
+# We get the architecture from the config.guess script.
21
22
+CONFIG=`./config.guess`
23
+GUESS=`grep $CONFIG template/.similar 2>/dev/null`
24
+if [ $GUESS ]; then
25
+ TEMPLATE=`echo $GUESS | sed 's/.*=//'`
26
+fi
27
+
28
$ECHO_N "Appropriate template file [$TEMPLATE]: $ECHO_C"
29
read a
30
if [ "$a." = " ." ]
src/template/.similar
@@ -0,0 +1,2 @@
1
+sparc-sun-solaris2.5=sparc_solaris-gcc
2
+i386-unknown-freebsd3.0=freebsd
0 commit comments