From 444f5b8ee7754e72224f49e6cd023bd2925a90cb Mon Sep 17 00:00:00 2001 From: Conrad Parker Date: Sat, 5 Jun 2004 03:49:00 +0000 Subject: moved detection of darwin from threads to general host features detection. CVS patchset: 6639 CVS date: 2004/06/05 03:49:00 --- configure.ac | 12 +++++++----- 1 file 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*) -- cgit v1.2.3