Date: Thu, 11 May 2006 17:09:17 -0400
authorSam Lantinga <slouken@libsdl.org>
Thu, 11 May 2006 23:26:45 +0000
changeset 1820133d55b02d51
parent 1819 63a45a87a57e
child 1821 2f381b48b05c
Date: Thu, 11 May 2006 17:09:17 -0400
From: Mike Frysinger
Subject: [SDL] [patch] teach configure about uClinux

the current configure script doesnt know about the uclinux target so this
patch fixes that
-mike
configure.in
     1.1 --- a/configure.in	Thu May 11 21:14:05 2006 +0000
     1.2 +++ b/configure.in	Thu May 11 23:26:45 2006 +0000
     1.3 @@ -1608,7 +1608,7 @@
     1.4  AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
     1.5                    , enable_pthread_sem=yes)
     1.6      case "$host" in
     1.7 -        *-*-linux*)
     1.8 +        *-*-linux*|*-*-uclinux*)
     1.9              pthread_cflags="-D_REENTRANT"
    1.10              pthread_lib="-lpthread"
    1.11              ;;
    1.12 @@ -2059,9 +2059,10 @@
    1.13              have_timers=yes
    1.14          fi
    1.15          ;;
    1.16 -    *-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
    1.17 +    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
    1.18          case "$host" in
    1.19              *-*-linux*)         ARCH=linux ;;
    1.20 +            *-*-uclinux*)       ARCH=linux ;;
    1.21              *-*-kfreebsd*-gnu)  ARCH=kfreebsd-gnu ;;
    1.22              *-*-knetbsd*-gnu)   ARCH=knetbsd-gnu ;;
    1.23              *-*-kopenbsd*-gnu)  ARCH=kopenbsd-gnu ;;