292 |
|
#endif |
293 |
|
]) |
294 |
|
AC_CHECK_HEADERS(AvailabilityMacros.h) |
295 |
+ |
AC_CHECK_HEADERS(IOKit/storage/IOBlockStorageDevice.h) |
296 |
|
|
297 |
|
dnl Checks for typedefs, structures, and compiler characteristics. |
298 |
|
AC_C_BIGENDIAN |
410 |
|
dnl Check for some MacOS X frameworks |
411 |
|
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>]) |
412 |
|
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>]) |
413 |
+ |
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>]) |
414 |
|
|
415 |
|
dnl Select system-dependant source files. |
416 |
|
SERIALSRC=serial_unix.cpp |
477 |
|
;; |
478 |
|
darwin*) |
479 |
|
ETHERSRC=ether_unix.cpp |
480 |
< |
if [[ "x$ac_cv_framework_IOKit" = "xyes" ]]; then |
480 |
> |
if [[ "x$ac_cv_framework_IOKit" = "xyes" -a "x$ac_cv_framework_CoreFoundation" = "xyes" ]]; then |
481 |
|
EXTRASYSSRCS="../MacOSX/sys_darwin.cpp" |
482 |
|
fi |
483 |
|
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then |