mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +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_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(unistd.h fcntl.h sys/types.h sys/time.h sys/mman.h mach/mach.h)
|
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(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.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#import <IOKit/serial/IOSerialKeys.h>
|
#import <IOKit/serial/IOSerialKeys.h>
|
||||||
#import <IOKit/storage/IOMedia.h>
|
#import <IOKit/storage/IOMedia.h>
|
||||||
#import <IOKit/storage/IOMediaBSDClient.h>
|
#import <IOKit/storage/IOMediaBSDClient.h>
|
||||||
#ifdef MAC_OS_X_VERSION_10_2
|
#ifdef HAVE_IOKIT_STORAGE_IOBLOCKSTORAGEDEVICE_H
|
||||||
#import <IOKit/storage/IOBlockStorageDevice.h>
|
#import <IOKit/storage/IOBlockStorageDevice.h>
|
||||||
#endif
|
#endif
|
||||||
#import <IOKit/storage/IOCDMedia.h>
|
#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
|
#endif
|
||||||
])
|
])
|
||||||
AC_CHECK_HEADERS(AvailabilityMacros.h)
|
AC_CHECK_HEADERS(AvailabilityMacros.h)
|
||||||
|
AC_CHECK_HEADERS(IOKit/storage/IOBlockStorageDevice.h)
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
@ -409,6 +410,7 @@ AC_DEFUN(AC_CHECK_FRAMEWORK, [
|
|||||||
dnl Check for some MacOS X frameworks
|
dnl Check for some MacOS X frameworks
|
||||||
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
||||||
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
|
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
|
||||||
|
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])
|
||||||
|
|
||||||
dnl Select system-dependant source files.
|
dnl Select system-dependant source files.
|
||||||
SERIALSRC=serial_unix.cpp
|
SERIALSRC=serial_unix.cpp
|
||||||
@ -475,7 +477,7 @@ irix*)
|
|||||||
;;
|
;;
|
||||||
darwin*)
|
darwin*)
|
||||||
ETHERSRC=ether_unix.cpp
|
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"
|
EXTRASYSSRCS="../MacOSX/sys_darwin.cpp"
|
||||||
fi
|
fi
|
||||||
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
|
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user