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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401781
This commit is contained in:
parent
4fe83bb83c
commit
84a89b45e5
1 changed files with 3 additions and 2 deletions
|
@ -1608,7 +1608,7 @@ AC_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [[def
|
||||||
AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
|
AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
|
||||||
, enable_pthread_sem=yes)
|
, enable_pthread_sem=yes)
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-linux*)
|
*-*-linux*|*-*-uclinux*)
|
||||||
pthread_cflags="-D_REENTRANT"
|
pthread_cflags="-D_REENTRANT"
|
||||||
pthread_lib="-lpthread"
|
pthread_lib="-lpthread"
|
||||||
;;
|
;;
|
||||||
|
@ -2059,9 +2059,10 @@ case "$host" in
|
||||||
have_timers=yes
|
have_timers=yes
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
|
*-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-linux*) ARCH=linux ;;
|
*-*-linux*) ARCH=linux ;;
|
||||||
|
*-*-uclinux*) ARCH=linux ;;
|
||||||
*-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;;
|
*-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;;
|
||||||
*-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;;
|
*-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;;
|
||||||
*-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;;
|
*-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue