summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Parker <conrad@users.sourceforge.net>2004-06-05 03:49:00 +0000
committerConrad Parker <conrad@users.sourceforge.net>2004-06-05 03:49:00 +0000
commit444f5b8ee7754e72224f49e6cd023bd2925a90cb (patch)
tree149c581c6da50ab0076ed778e44df07383814ca2
parent5c5e1a0cf7d4b89b15f2465004748b277ae251bb (diff)
downloadxine-lib-444f5b8ee7754e72224f49e6cd023bd2925a90cb.tar.gz
xine-lib-444f5b8ee7754e72224f49e6cd023bd2925a90cb.tar.bz2
moved detection of darwin from threads to general host features detection.
CVS patchset: 6639 CVS date: 2004/06/05 03:49:00
-rw-r--r--configure.ac12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 1f0a2e77e..468855ca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,11 +199,6 @@ case "$host" in
;;
- *darwin*)
- AC_DEFINE_UNQUOTED(HOST_OS_DARWIN, 1, [Define this if built on MacOSX/Darwin])
-
- ;;
-
*)
AC_CHECK_LIB(pthread, pthread_create,
[THREAD_LIBS="-lpthread"],
@@ -1639,6 +1634,13 @@ case "$host_or_hostalias" in
CFLAGS="-Wa,-m7400 $CFLAGS"
DEBUG_CFLAGS="-Wa,-m7400 $DEBUG_CFLAGS"
fi
+
+ dnl enable darwin (Mac OS X) specific build
+ case "$host_or_hostalias" in
+ *-darwin*)
+ AC_DEFINE_UNQUOTED(HOST_OS_DARWIN, 1, [Define this if built on MacOSX/Darwin])
+ ;;
+ esac
;;
sparc*-*-linux*)