aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure2
-rw-r--r--src/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/configure b/src/configure
index c450b00c766..3656ee4b0e1 100755
--- a/src/configure
+++ b/src/configure
@@ -641,7 +641,7 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
- GUESS=`grep $host_os template/.similar 2>/dev/null`
+ GUESS=`grep "$host_os=" template/.similar 2>/dev/null`
if test $GUESS
then
TEMPLATE=`echo $GUESS | sed 's/.*=//'`
diff --git a/src/configure.in b/src/configure.in
index 664c0f6a87b..eb2c8b184fd 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -79,7 +79,7 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
- GUESS=`grep $host_os template/.similar 2>/dev/null`
+ GUESS=`grep "$host_os=" template/.similar 2>/dev/null`
if test $GUESS
then
TEMPLATE=`echo $GUESS | sed 's/.*=//'`