changeset 23343:a982544e5c08

Add "uclinux" as an accepted system type in the linux() test. patch by Mike Frysinger, vapier.adi gmail com
author diego
date Mon, 21 May 2007 06:54:06 +0000
parents e070d7f61e9a
children 57692910afd4
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon May 21 01:47:27 2007 +0000
+++ b/configure	Mon May 21 06:54:06 2007 +0000
@@ -97,7 +97,7 @@
 issystem() {
   test "`echo $system_name | tr A-Z a-z`" = "`echo $1 | tr A-Z a-z`"
 }
-linux()   { issystem "Linux"   ; return "$?" ; }
+linux()   { issystem "Linux" || issystem "uClinux" ; return "$?" ; }
 sunos()   { issystem "SunOS"   ; return "$?" ; }
 hpux()    { issystem "HP-UX"   ; return "$?" ; }
 irix()    { issystem "IRIX"    ; return "$?" ; }