* configure.ac: Fix Linux detection. Host types like i686-pc-linux
didn't match the pattern.
Fixes bugzilla #150. [backport candidate]
diff --git a/ChangeLog b/ChangeLog
index c3c524c..d624597 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-19 Hasso Tepper <hasso at quagga.net>
+
+ * configure.ac: Fix Linux detection. Host types like i686-pc-linux
+ didn't match the pattern.
+
2005-02-09 Paul Jakma <paul.jakma@sun.com>
* (global) Update code to match stream.h changes.
diff --git a/configure.ac b/configure.ac
index b2101b3..3bc18d7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
##
-## $Id: configure.ac,v 1.88 2005/01/24 10:24:31 paul Exp $
+## $Id: configure.ac,v 1.89 2005/02/19 13:58:06 hasso Exp $
AC_PREREQ(2.53)
AC_INIT(Quagga, 0.99.0, [http://bugzilla.quagga.net])
@@ -296,7 +296,7 @@
AC_CHECK_LIB(nsl, main)
CURSES=-lcurses
;;
- *-linux-*)
+ *-linux*)
opsys=gnu-linux
AC_DEFINE(GNU_LINUX,,GNU Linux)
;;