]> git.wh0rd.org Git - patches.git/blob - libsdl-uclinux-support.patch
initial import
[patches.git] / libsdl-uclinux-support.patch
1 --- configure.in
2 +++ configure.in
3 @@ -1608,7 +1608,7 @@ AC_HELP_STRING([--enable-pthreads], [use
4  AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
5                    , enable_pthread_sem=yes)
6      case "$host" in
7 -        *-*-linux*)
8 +        *-*-linux*|*-*-uclinux*)
9              pthread_cflags="-D_REENTRANT"
10              pthread_lib="-lpthread"
11              ;;
12 @@ -2059,9 +2059,10 @@ case "$host" in
13              have_timers=yes
14          fi
15          ;;
16 -    *-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
17 +    *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
18          case "$host" in
19              *-*-linux*)         ARCH=linux ;;
20 +            *-*-uclinux*)       ARCH=linux ;;
21              *-*-kfreebsd*-gnu)  ARCH=kfreebsd-gnu ;;
22              *-*-knetbsd*-gnu)   ARCH=knetbsd-gnu ;;
23              *-*-kopenbsd*-gnu)  ARCH=kopenbsd-gnu ;;