Mercurial > sdl-ios-xcode
comparison configure.in @ 1820:133d55b02d51
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
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 May 2006 23:26:45 +0000 |
parents | a7cda692b681 |
children | 77656185d662 |
comparison
equal
deleted
inserted
replaced
1819:63a45a87a57e | 1820:133d55b02d51 |
---|---|
1606 dnl This is used on Linux for glibc binary compatibility (Doh!) | 1606 dnl This is used on Linux for glibc binary compatibility (Doh!) |
1607 AC_ARG_ENABLE(pthread-sem, | 1607 AC_ARG_ENABLE(pthread-sem, |
1608 AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]), | 1608 AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]), |
1609 , enable_pthread_sem=yes) | 1609 , enable_pthread_sem=yes) |
1610 case "$host" in | 1610 case "$host" in |
1611 *-*-linux*) | 1611 *-*-linux*|*-*-uclinux*) |
1612 pthread_cflags="-D_REENTRANT" | 1612 pthread_cflags="-D_REENTRANT" |
1613 pthread_lib="-lpthread" | 1613 pthread_lib="-lpthread" |
1614 ;; | 1614 ;; |
1615 *-*-bsdi*) | 1615 *-*-bsdi*) |
1616 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" | 1616 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" |
2057 AC_DEFINE(SDL_TIMER_UNIX) | 2057 AC_DEFINE(SDL_TIMER_UNIX) |
2058 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" | 2058 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" |
2059 have_timers=yes | 2059 have_timers=yes |
2060 fi | 2060 fi |
2061 ;; | 2061 ;; |
2062 *-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*) | 2062 *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*) |
2063 case "$host" in | 2063 case "$host" in |
2064 *-*-linux*) ARCH=linux ;; | 2064 *-*-linux*) ARCH=linux ;; |
2065 *-*-uclinux*) ARCH=linux ;; | |
2065 *-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;; | 2066 *-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;; |
2066 *-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;; | 2067 *-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;; |
2067 *-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;; | 2068 *-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;; |
2068 *-*-gnu*) ARCH=gnu ;; # must be last of the gnu variants | 2069 *-*-gnu*) ARCH=gnu ;; # must be last of the gnu variants |
2069 *-*-bsdi*) ARCH=bsdi ;; | 2070 *-*-bsdi*) ARCH=bsdi ;; |