explorer: Build on Darwin versions prior to 8.0.

This commit is contained in:
Phil Krylov 2006-11-05 23:03:46 +03:00 committed by Alexandre Julliard
parent b81b44f615
commit f0ca586f16
3 changed files with 282 additions and 333 deletions

597
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1016,8 +1016,12 @@ case $host_os in
dnl declare needed frameworks
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
AC_SUBST(DISKARBITRATIONLIB,"-framework DiskArbitration -framework CoreFoundation")
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"])
if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
then
dnl DiskArbitration API is not public on Darwin < 8.0, use it only if header found
AC_SUBST(DISKARBITRATIONLIB,"-framework DiskArbitration -framework CoreFoundation")
fi
if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
then
dnl CoreServices needed by AudioUnit

View File

@ -37,7 +37,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(explorer);
#ifdef __APPLE__
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
#include <DiskArbitration/DiskArbitration.h>
@ -133,11 +133,11 @@ void initialize_diskarbitration(void)
CloseHandle( handle );
}
#else /* __APPLE__ */
#else /* HAVE_DISKARBITRATION_DISKARBITRATION_H */
void initialize_diskarbitration(void)
{
WINE_TRACE( "Skipping on non-Apple platform\n" );
WINE_TRACE( "Skipping, Disk Arbitration support not compiled in\n" );
}
#endif /* __APPLE__ */
#endif /* HAVE_DISKARBITRATION_DISKARBITRATION_H */