mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 16:30:44 +00:00
Check for CoreFoundation framework (Darwin 8.0.1). Likewise for
IOKit/storage/IOBlockStorageDevice.h which is not available there on x86
This commit is contained in:
parent
2bc79fd857
commit
334f9ce018
@ -160,6 +160,7 @@ dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(unistd.h fcntl.h sys/types.h sys/time.h sys/mman.h mach/mach.h)
|
||||
AC_CHECK_HEADERS(readline.h history.h readline/readline.h readline/history.h)
|
||||
AC_CHECK_HEADERS(IOKit/storage/IOBlockStorageDevice.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_BIGENDIAN
|
||||
|
@ -31,7 +31,7 @@
|
||||
#import <IOKit/serial/IOSerialKeys.h>
|
||||
#import <IOKit/storage/IOMedia.h>
|
||||
#import <IOKit/storage/IOMediaBSDClient.h>
|
||||
#ifdef MAC_OS_X_VERSION_10_2
|
||||
#ifdef HAVE_IOKIT_STORAGE_IOBLOCKSTORAGEDEVICE_H
|
||||
#import <IOKit/storage/IOBlockStorageDevice.h>
|
||||
#endif
|
||||
#import <IOKit/storage/IOCDMedia.h>
|
||||
|
@ -292,6 +292,7 @@ AC_CHECK_HEADERS(linux/if.h linux/if_tun.h net/if.h net/if_tun.h, [], [], [
|
||||
#endif
|
||||
])
|
||||
AC_CHECK_HEADERS(AvailabilityMacros.h)
|
||||
AC_CHECK_HEADERS(IOKit/storage/IOBlockStorageDevice.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_BIGENDIAN
|
||||
@ -409,6 +410,7 @@ AC_DEFUN(AC_CHECK_FRAMEWORK, [
|
||||
dnl Check for some MacOS X frameworks
|
||||
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
||||
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
|
||||
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])
|
||||
|
||||
dnl Select system-dependant source files.
|
||||
SERIALSRC=serial_unix.cpp
|
||||
@ -475,7 +477,7 @@ irix*)
|
||||
;;
|
||||
darwin*)
|
||||
ETHERSRC=ether_unix.cpp
|
||||
if [[ "x$ac_cv_framework_IOKit" = "xyes" ]]; then
|
||||
if [[ "x$ac_cv_framework_IOKit" = "xyes" -a "x$ac_cv_framework_CoreFoundation" = "xyes" ]]; then
|
||||
EXTRASYSSRCS="../MacOSX/sys_darwin.cpp"
|
||||
fi
|
||||
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user