summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d11ec8)
raw | patch | inline | side by side (parent: 5d11ec8)
author | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Sat, 1 Sep 2007 10:00:24 +0000 (12:00 +0200) | ||
committer | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Sat, 1 Sep 2007 10:00:24 +0000 (12:00 +0200) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 1c591c2f5f579057f300d12e990a2da75cdcb107..601604b3aadc2e832024f44cda1babf1a78f4589 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_DEFINE([KERNEL_SOLARIS], 1, [True if program is to be compiled for a Solaris kernel])
ac_system="Solaris"
;;
- *apple-darwin*)
- ac_system="Mac OS X"
+ *darwin*)
+ ac_system="Darwin"
;;
*)
ac_system="unknown"
# For cpu modules
AC_CHECK_HEADERS(sys/dkstat.h)
-if test ac_system = "Mac OS X"
+if test "x$ac_system" = "xDarwin"
then
AC_CHECK_HEADERS(mach/mach_init.h mach/host_priv.h mach/mach_error.h mach/mach_host.h mach/mach_port.h mach/mach_types.h mach/message.h mach/processor_set.h mach/processor.h mach/processor_info.h mach/task.h mach/thread_act.h mach/vm_region.h mach/vm_map.h mach/vm_prot.h mach/vm_statistics.h mach/kern_return.h)
AC_CHECK_HEADERS(CoreFoundation/CoreFoundation.h IOKit/IOKitLib.h IOKit/IOTypes.h IOKit/ps/IOPSKeys.h IOKit/IOBSD.h IOKit/storage/IOBlockStorageDriver.h)
[Wether or not to use pthread (POSIX threads) library])
AM_CONDITIONAL(BUILD_WITH_LIBPTHREAD, test "x$with_libpthread" = "xyes")
-if test "$ac_system" = "Solaris"
+if test "x$ac_system" = "xSolaris"
then
with_kstat="yes"
with_devinfo="yes"