"Mac OS X" -> "Mac OS"

Although "macOS" is the correct name for Apple's current desktop OS,
we've decided to go with "Mac OS" to cover all of Apple's Unix-like
desktop OS versions. The label "Mac OS" is more readable, clear in
context (i.e., unlikely to be confused with the Mac OSes that
proceeded Mac OS X), and as likely to match Apple's future OS names
as anything.
This commit is contained in:
Matthew Flatt 2016-12-23 12:07:27 -07:00
parent 5cc5bb7c55
commit 710320e3dc
61 changed files with 180 additions and 183 deletions

View File

@ -53,7 +53,7 @@ If you stick with this repository, then you have several options:
Quick Instructions: In-place Build Quick Instructions: In-place Build
================================== ==================================
On Unix (including Linux) and Mac OS X, `make' (or `make in-place') On Unix (including Linux) and Mac OS, `make' (or `make in-place')
creates a build in the "racket" directory. creates a build in the "racket" directory.
On Windows with Microsoft Visual Studio (any version between 2008/9.0 On Windows with Microsoft Visual Studio (any version between 2008/9.0
@ -81,7 +81,7 @@ installs into "<dir>" (which must be an absolute path) with binaries
in "<dir>/bin", packages in "<dir>/share/racket/pkgs", documentation in "<dir>/bin", packages in "<dir>/share/racket/pkgs", documentation
in "<dir>/share/racket/doc", etc. in "<dir>/share/racket/doc", etc.
On Mac OS X, `make unix-style PREFIX=<dir>' builds and installs into On Mac OS, `make unix-style PREFIX=<dir>' builds and installs into
"<dir>" (which must be an absolute path) with binaries in "<dir>/bin", "<dir>" (which must be an absolute path) with binaries in "<dir>/bin",
packages in "<dir>/share/pkgs", documentation in "<dir>/doc", etc. packages in "<dir>/share/pkgs", documentation in "<dir>/doc", etc.
@ -321,7 +321,7 @@ normalizing the Windows results to "i386-win32" and "x86_63-win32",
-<dist-suffix> is omitted unless a `#:dist-suffix' string is specified -<dist-suffix> is omitted unless a `#:dist-suffix' string is specified
for the client in the site configuration, and <ext> is for the client in the site configuration, and <ext> is
platform-specific: ".sh" for Unix (including Linux), ".dmg" or ".pkg" platform-specific: ".sh" for Unix (including Linux), ".dmg" or ".pkg"
for Mac OS X, and ".exe" for Windows. for Mac OS, and ".exe" for Windows.
Generating Installer Web Sites Generating Installer Web Sites
------------------------------ ------------------------------
@ -517,7 +517,7 @@ In more detail:
To create a ".tgz" archive instead of an installer (or any To create a ".tgz" archive instead of an installer (or any
platform), set `TGZ_MODE' to "--tgz". platform), set `TGZ_MODE' to "--tgz".
For a Mac OS X installer, set `SIGN_IDENTITY' as the name to For a Mac OS installer, set `SIGN_IDENTITY' as the name to
which the signing certificate is associated. Set `MAC_PKG_MODE' which the signing certificate is associated. Set `MAC_PKG_MODE'
to "--mac-pkg" to create a ".pkg" installer instead of a ".dmg" to "--mac-pkg" to create a ".pkg" installer instead of a ".dmg"
image. image.

View File

@ -98,7 +98,7 @@ win32-as-is:
$(WIN32_RUN_RACO) setup $(ALL_PLT_SETUP_OPTIONS) $(WIN32_RUN_RACO) setup $(ALL_PLT_SETUP_OPTIONS)
# ------------------------------------------------------------ # ------------------------------------------------------------
# Unix-style build (Unix and Mac OS X, only) # Unix-style build (Unix and Mac OS, only)
PREFIX = PREFIX =
@ -234,7 +234,7 @@ SOURCE_MODE =
# name or installation path: # name or installation path:
VERSIONLESS_MODE = VERSIONLESS_MODE =
# Set to "--mac-pkg" to create ".pkg"-based installers for Mac OS X, # Set to "--mac-pkg" to create ".pkg"-based installers for Mac OS,
# instead of a ".dmg" for drag-and-drop installation: # instead of a ".dmg" for drag-and-drop installation:
MAC_PKG_MODE = MAC_PKG_MODE =
@ -271,7 +271,7 @@ BUILD_STAMP =
# the default as the version number: # the default as the version number:
INSTALL_NAME = INSTALL_NAME =
# For Mac OS X, a signing identity (spaces allowed) for binaries in an # For Mac OS, a signing identity (spaces allowed) for binaries in an
# installer: # installer:
SIGN_IDENTITY = SIGN_IDENTITY =

View File

@ -49,7 +49,7 @@
(exe-embedded-collects-dest dir)] (exe-embedded-collects-dest dir)]
[("--ico") .ico-file "Set Windows icon for executable" [("--ico") .ico-file "Set Windows icon for executable"
(exe-aux (cons (cons 'ico .ico-file) (exe-aux)))] (exe-aux (cons (cons 'ico .ico-file) (exe-aux)))]
[("--icns") .icns-file "Set Mac OS X icon for executable" [("--icns") .icns-file "Set Mac OS icon for executable"
(exe-aux (cons (cons 'icns .icns-file) (exe-aux)))] (exe-aux (cons (cons 'icns .icns-file) (exe-aux)))]
[("--orig-exe") "Use original executable instead of stub" [("--orig-exe") "Use original executable instead of stub"
(exe-aux (cons (cons 'original-exe? #t) (exe-aux)))] (exe-aux (cons (cons 'original-exe? #t) (exe-aux)))]

View File

@ -104,7 +104,7 @@ for @racket["ollie.cs.rice.edu"] might be @racket["cs.rice.edu"].}
@defproc[(dns-find-nameserver) (or/c string? false/c)]{ @defproc[(dns-find-nameserver) (or/c string? false/c)]{
Attempts to find the address of a nameserver on the present system. Attempts to find the address of a nameserver on the present system.
On Unix and Mac OS X, this procedure parses @filepath{/etc/resolv.conf} to On Unix and Mac OS, this procedure parses @filepath{/etc/resolv.conf} to
extract the first nameserver address. On Windows, it runs extract the first nameserver address. On Windows, it runs
@exec{nslookup.exe}.} @exec{nslookup.exe}.}

View File

@ -3,11 +3,11 @@
(for-label net/osx-ssl (for-label net/osx-ssl
openssl)) openssl))
@title[#:tag "osx-ssl"]{OS X Native SSL: Secure Communication} @title[#:tag "osx-ssl"]{Mac OS Native SSL: Secure Communication}
@defmodule[net/osx-ssl]{The @racketmodname[net/osx-ssl] module @defmodule[net/osx-ssl]{The @racketmodname[net/osx-ssl] module
offers a fraction of the functionality of @racketmodname[openssl] and offers a fraction of the functionality of @racketmodname[openssl] and
works only on OS X, but it has the advantage that it works before works only on Mac OS, but it has the advantage that it works before
OpenSSL libraries are installed.} OpenSSL libraries are installed.}
@history[#:added "6.3.0.12"] @history[#:added "6.3.0.12"]

View File

@ -24,7 +24,7 @@ On Windows, @racket[send-url] normally uses @racket[shell-execute]
to launch a browser. (If the URL appears to contain a fragment, it may to launch a browser. (If the URL appears to contain a fragment, it may
use an intermediate redirecting file due to a bug in IE7.) use an intermediate redirecting file due to a bug in IE7.)
On Mac OS X, @racket[send-url] runs @exec{osascript} to start the On Mac OS, @racket[send-url] runs @exec{osascript} to start the
user's chosen browser. user's chosen browser.
On Unix, @racket[send-url] uses a user-preference, or when none is On Unix, @racket[send-url] uses a user-preference, or when none is
@ -80,7 +80,7 @@ above.}
@defproc[(send-url/mac [url string?] @defproc[(send-url/mac [url string?]
[#:browser browser (or/c string? #f) #f]) [#:browser browser (or/c string? #f) #f])
void?]{ void?]{
Like @racket[send-url], but only for use on a Mac OS X machine. Like @racket[send-url], but only for use on a Mac OS machine.
The optional @racket[browser] argument, if present, should be the name The optional @racket[browser] argument, if present, should be the name
of a browser installed on the system. For example, of a browser installed on the system. For example,

View File

@ -11,7 +11,7 @@ resulting archives contain only directories, files, and symbolic
links, and owner information is not preserved; the owner that is links, and owner information is not preserved; the owner that is
stored in the archive is always ``root.'' stored in the archive is always ``root.''
Symbolic links (on Unix and Mac OS X) are not followed by default.} Symbolic links (on Unix and Mac OS) are not followed by default.}
@defproc[(tar [tar-file path-string?] @defproc[(tar [tar-file path-string?]

View File

@ -5,7 +5,7 @@
@defmodule[file/zip]{The @racketmodname[file/zip] library provides @defmodule[file/zip]{The @racketmodname[file/zip] library provides
utilities to create @exec{zip} archive files, which are compatible utilities to create @exec{zip} archive files, which are compatible
with both Windows and Unix (including Mac OS X) unpacking. The actual with both Windows and Unix (including Mac OS) unpacking. The actual
compression is implemented by @racket[deflate].} compression is implemented by @racket[deflate].}
@defproc[(zip [zip-file path-string?] [path path-string?] ... @defproc[(zip [zip-file path-string?] [path path-string?] ...
@ -33,7 +33,7 @@ resulting @exec{zip} file, up to the current directory (using
Files are packaged as usual for Files are packaged as usual for
@exec{zip} files, including permission bits for both Windows and Unix @exec{zip} files, including permission bits for both Windows and Unix
(including Mac OS X). The permission bits are determined by (including Mac OS). The permission bits are determined by
@racket[file-or-directory-permissions], which does not preserve the @racket[file-or-directory-permissions], which does not preserve the
distinction between owner/group/other permissions. Also, symbolic distinction between owner/group/other permissions. Also, symbolic
links are always followed. links are always followed.

View File

@ -28,10 +28,10 @@ or with the Racket distribution. In particular:
@filepath{libeay32.dll} and @filepath{ssleay32.dll}, which are @filepath{libeay32.dll} and @filepath{ssleay32.dll}, which are
included in the Racket distribution for Windows.} included in the Racket distribution for Windows.}
@item{For Mac OS X, @racketmodname[openssl] depends on @item{For Mac OS, @racketmodname[openssl] depends on
@filepath{libssl.dylib} and @filepath{libcrypto.dylib}. Although those @filepath{libssl.dylib} and @filepath{libcrypto.dylib}. Although those
libraries are provided by Mac OS X 10.2 and later, their use is libraries are provided by Mac OS 10.2 and later, their use is
deprecated, so the Racket distribution for Mac OS X includes newer deprecated, so the Racket distribution for Mac OS includes newer
versions.} versions.}
@item{For Unix, @racketmodname[openssl] depends on @item{For Unix, @racketmodname[openssl] depends on
@ -462,7 +462,7 @@ immediately. Only supported on Windows.}
@item{If @racket[src] is @racket[(list 'macosx-keychain _path)], then @item{If @racket[src] is @racket[(list 'macosx-keychain _path)], then
the certificates from the keychain stored at @racket[_path] are loaded the certificates from the keychain stored at @racket[_path] are loaded
immediately. Only supported on Mac OS X.} immediately. Only supported on Mac OS.}
] ]
@ -493,7 +493,7 @@ on the platform:
@tt{SSL_CERT_FILE} and @tt{SSL_CERT_DIR} environment variables, if the @tt{SSL_CERT_FILE} and @tt{SSL_CERT_DIR} environment variables, if the
variables are set, or the system-wide default locations otherwise.} variables are set, or the system-wide default locations otherwise.}
@item{On Mac OS X, the default sources consist of the system keychain @item{On Mac OS, the default sources consist of the system keychain
for root certificates: @racket['(macosx-keychain for root certificates: @racket['(macosx-keychain
"/System/Library/Keychains/SystemRootCertificates.keychain")].} "/System/Library/Keychains/SystemRootCertificates.keychain")].}

View File

@ -199,7 +199,7 @@ or @racket[move-man-pages] definitions in an @filepath{info.rkt} file,
retrieving them if they are not present at referenced location but are retrieving them if they are not present at referenced location but are
present in a user-specific target directory (i.e., the directory present in a user-specific target directory (i.e., the directory
reported by @racket[find-user-lib-dir], @racket[find-user-share-dir], reported by @racket[find-user-lib-dir], @racket[find-user-share-dir],
or @racket[find-user-man-dir], respectively). On Mac OS X, when an or @racket[find-user-man-dir], respectively). On Mac OS, when an
unmoved file for @racket[move-foreign-libs] is a Mach-O file that unmoved file for @racket[move-foreign-libs] is a Mach-O file that
includes a reference to another library in one of the directories reported by includes a reference to another library in one of the directories reported by
@racket[(get-lib-search-dirs)], then the reference is changed to a @racket[(get-lib-search-dirs)], then the reference is changed to a

View File

@ -60,7 +60,7 @@ To use the FFI, you must have in mind
The library corresponds to a file with a suffix such as The library corresponds to a file with a suffix such as
@filepath{.dll}, @filepath{.so}, or @filepath{.dylib} (depending on @filepath{.dll}, @filepath{.so}, or @filepath{.dylib} (depending on
the platform), or it might be a library within a @filepath{.framework} the platform), or it might be a library within a @filepath{.framework}
directory on Mac OS X. directory on Mac OS.
Knowing the library's name and/or path is often the trickiest part of Knowing the library's name and/or path is often the trickiest part of
using the FFI. Sometimes, when using a library name without a path using the FFI. Sometimes, when using a library name without a path

View File

@ -8,7 +8,7 @@
The @racketmodname[ffi/unsafe/nsalloc] and The @racketmodname[ffi/unsafe/nsalloc] and
@racketmodname[ffi/unsafe/nsstring] libraries provide basic @racketmodname[ffi/unsafe/nsstring] libraries provide basic
facilities for working with Cocoa and/or Mac OS X Foundation facilities for working with Cocoa and/or Mac OS Foundation
libraries (usually along with @racket[ffi/objc]). libraries (usually along with @racket[ffi/objc]).
@; ---------------------------------------- @; ----------------------------------------

View File

@ -111,7 +111,7 @@ Defines each @racket[class-id] to the class (a value with FFI type
A class accessed by @racket[import-class] is normally declared as a A class accessed by @racket[import-class] is normally declared as a
side effect of loading a foreign library. For example, if you want to side effect of loading a foreign library. For example, if you want to
import the class @tt{NSString} on Mac OS X, the @filepath{Foundation} import the class @tt{NSString} on Mac OS, the @filepath{Foundation}
framework must be loaded, first. Beware that if you use framework must be loaded, first. Beware that if you use
@racket[import-class] in DrRacket or a module that @racket[require]s @racket[import-class] in DrRacket or a module that @racket[require]s
@racketmodname[racket/gui/base], then @filepath{Foundation} will have @racketmodname[racket/gui/base], then @filepath{Foundation} will have

View File

@ -15,7 +15,7 @@ Start menu. In Windows Vista or newer, you can just type @exec{DrRacket}. You c
also run it from its folder, which you can find in @onscreen{Program Files} → also run it from its folder, which you can find in @onscreen{Program Files} →
@onscreen{Racket} → @onscreen{DrRacket}. @onscreen{Racket} → @onscreen{DrRacket}.
On Mac OS X, double click on the @onscreen{DrRacket} icon. It is probably in a On Mac OS, double click on the @onscreen{DrRacket} icon. It is probably in a
@onscreen{Racket} folder that you dragged into your @onscreen{Racket} folder that you dragged into your
@onscreen{Applications} folder. If you want to use command-line tools, instead, @onscreen{Applications} folder. If you want to use command-line tools, instead,
Racket executables are in the @filepath{bin} directory of the @onscreen{Racket} Racket executables are in the @filepath{bin} directory of the @onscreen{Racket}

View File

@ -247,7 +247,7 @@ installation or one of the directories reported by
the list of searched directories by setting the @envvar{PLTCOLLECTS} the list of searched directories by setting the @envvar{PLTCOLLECTS}
environment variable.@margin-note*{If you set @envvar{PLTCOLLECTS}, environment variable.@margin-note*{If you set @envvar{PLTCOLLECTS},
include an empty path in by starting the value with a colon (Unix and include an empty path in by starting the value with a colon (Unix and
Mac OS X) or semicolon (Windows) so that the original search paths are Mac OS) or semicolon (Windows) so that the original search paths are
preserved.} The best option, however, is to add a @tech{package}. preserved.} The best option, however, is to add a @tech{package}.
Creating a package @emph{does not} mean that you have to register with Creating a package @emph{does not} mean that you have to register with

View File

@ -4,12 +4,12 @@
@title[#:tag "scripts"]{Scripts} @title[#:tag "scripts"]{Scripts}
Racket files can be turned into executable scripts on Unix and Mac Racket files can be turned into executable scripts on Unix and Mac
OS X. On Windows, a compatibility layer like Cygwin support the OS. On Windows, a compatibility layer like Cygwin support the
same kind of scripts, or scripts can be implemented as batch files. same kind of scripts, or scripts can be implemented as batch files.
@section{Unix Scripts} @section{Unix Scripts}
In a Unix environment (including Linux and Mac OS X), a Racket file can In a Unix environment (including Linux and Mac OS), a Racket file can
be turned into an executable script using the shell's @as-index{@tt{#!}} be turned into an executable script using the shell's @as-index{@tt{#!}}
convention. The first two characters of the file must be @litchar{#!}; convention. The first two characters of the file must be @litchar{#!};
the next character must be either a space or @litchar{/}, and the the next character must be either a space or @litchar{/}, and the

View File

@ -181,7 +181,7 @@ To package the program as an executable, you have a few options:
the program. See @secref[#:doc '(lib the program. See @secref[#:doc '(lib
"scribblings/raco/raco.scrbl") "exe"] for more information.} "scribblings/raco/raco.scrbl") "exe"] for more information.}
@item{With Unix or Mac OS X, you can turn the program file into an @item{With Unix or Mac OS, you can turn the program file into an
executable script by inserting the line executable script by inserting the line
@margin-note{See @secref["scripts"] for more information on @margin-note{See @secref["scripts"] for more information on

View File

@ -51,7 +51,7 @@ To embed Racket CGC in a program, follow these steps:
use. (@filepath{Racket.exe} and @filepath{GRacket.exe} use the latter use. (@filepath{Racket.exe} and @filepath{GRacket.exe} use the latter
strategy.) strategy.)
On Mac OS X, dynamic libraries are provided by the On Mac OS, dynamic libraries are provided by the
@filepath{Racket} framework, which is typically installed in @filepath{Racket} framework, which is typically installed in
@filepath{lib} sub-directory of the installation. Supply @filepath{lib} sub-directory of the installation. Supply
@exec{-framework Racket} to @exec{gcc} when linking, along @exec{-framework Racket} to @exec{gcc} when linking, along
@ -160,7 +160,7 @@ to Racket objects can be kept in registers, stack variables, or
structures allocated with @cppi{scheme_malloc}. In an embedding structures allocated with @cppi{scheme_malloc}. In an embedding
application on some platforms, static variables are also automatically application on some platforms, static variables are also automatically
registered as roots for garbage collection (but see notes below registered as roots for garbage collection (but see notes below
specific to Mac OS X and Windows). specific to Mac OS and Windows).
For example, the following is a simple embedding program which For example, the following is a simple embedding program which
evaluates all expressions provided on the command line and displays evaluates all expressions provided on the command line and displays
@ -232,7 +232,7 @@ executable, but the embedding application must call
@cppi{scheme_set_exec_cmd} to set the executable path (typically @cppi{scheme_set_exec_cmd} to set the executable path (typically
@cpp{argv[0]}) before declaring modules. @cpp{argv[0]}) before declaring modules.
On Mac OS X, or on Windows when Racket is compiled to a DLL On Mac OS, or on Windows when Racket is compiled to a DLL
using Cygwin, the garbage collector cannot find static variables using Cygwin, the garbage collector cannot find static variables
automatically. In that case, @cppi{scheme_main_setup} must be called with a automatically. In that case, @cppi{scheme_main_setup} must be called with a
non-zero first argument. non-zero first argument.
@ -286,7 +286,7 @@ In addition, some library details are different:
separate library for 3m analogous to CGC's separate library for 3m analogous to CGC's
@filepath{libmzgc@italic{x}.lib}.} @filepath{libmzgc@italic{x}.lib}.}
@item{On Mac OS X, 3m dynamic libraries are provided by the @item{On Mac OS, 3m dynamic libraries are provided by the
@filepath{Racket} framework, just as for CGC, but as a version @filepath{Racket} framework, just as for CGC, but as a version
suffixed with @filepath{_3m}.} suffixed with @filepath{_3m}.}

View File

@ -80,17 +80,17 @@ steps:
but it locates a C compiler on the system and launches it with the but it locates a C compiler on the system and launches it with the
appropriate compilation flags. If the platform is a relatively appropriate compilation flags. If the platform is a relatively
standard Unix system, a Windows system with either Microsoft's C standard Unix system, a Windows system with either Microsoft's C
compiler or @exec{gcc} in the path, or a Mac OS X system with Apple's compiler or @exec{gcc} in the path, or a Mac OS system with Apple's
developer tools installed, then using @|mzc| is typically easier than developer tools installed, then using @|mzc| is typically easier than
working with the C compiler directly. Use the @as-index{@DFlag{cgc}} working with the C compiler directly. Use the @as-index{@DFlag{cgc}}
flag to indicate that the build is for use with Racket CGC.} flag to indicate that the build is for use with Racket CGC.}
@item{Link the extension C/C++ files with @item{Link the extension C/C++ files with
@as-index{@filepath{mzdyn.o}} (Unix, Mac OS X) or @as-index{@filepath{mzdyn.o}} (Unix, Mac OS) or
@as-index{@filepath{mzdyn.obj}} (Windows) to create a shared object. The @as-index{@filepath{mzdyn.obj}} (Windows) to create a shared object. The
resulting shared object should use the extension @filepath{.so} (Unix), resulting shared object should use the extension @filepath{.so} (Unix),
@filepath{.dll} (Windows), or @filepath{.dylib} (Mac OS X). @filepath{.dll} (Windows), or @filepath{.dylib} (Mac OS).
The @filepath{mzdyn} object file is distributed in the installation's The @filepath{mzdyn} object file is distributed in the installation's
@filepath{lib} directory. For Windows, the object file is in a @filepath{lib} directory. For Windows, the object file is in a
@ -184,7 +184,7 @@ must be extended as follows:
@as-index{@DFlag{3m}} flags, @cpp{MZ_PRECISE_GC} is automatically @as-index{@DFlag{3m}} flags, @cpp{MZ_PRECISE_GC} is automatically
defined.} defined.}
@item{Link with @as-index{@filepath{mzdyn3m.o}} (Unix, Mac OS X) or @item{Link with @as-index{@filepath{mzdyn3m.o}} (Unix, Mac OS) or
@as-index{@filepath{mzdyn3m.obj}} (Windows) to create a shared @as-index{@filepath{mzdyn3m.obj}} (Windows) to create a shared
object. When using @|mzc|, use the @DFlag{ld} and @DFlag{3m} flags object. When using @|mzc|, use the @DFlag{ld} and @DFlag{3m} flags
to link to these libraries.} to link to these libraries.}

View File

@ -882,7 +882,7 @@ requires a few frames.
If @var{stack_end} is @cpp{NULL}, then the stack end is computed If @var{stack_end} is @cpp{NULL}, then the stack end is computed
automatically: the stack size assumed to be the limit reported by automatically: the stack size assumed to be the limit reported by
@cpp{getrlimit} on Unix and Mac OS X, or it is assumed to be the @cpp{getrlimit} on Unix and Mac OS, or it is assumed to be the
stack reservation of the executable (or 1 MB if parsing the stack reservation of the executable (or 1 MB if parsing the
executable fails) on Windows; if this size is greater than 8 MB, then 8 MB is executable fails) on Windows; if this size is greater than 8 MB, then 8 MB is
assumed, instead; the size is decremented by 50000 bytes assumed, instead; the size is decremented by 50000 bytes

View File

@ -130,7 +130,7 @@ for the original place.
Racket implements threads for Racket programs without aid from the Racket implements threads for Racket programs without aid from the
operating system, so that Racket threads are cooperative from the operating system, so that Racket threads are cooperative from the
perspective of C code. On Unix, stand-alone Racket uses a single perspective of C code. On Unix, stand-alone Racket uses a single
OS-implemented thread. On Windows and Mac OS X, stand-alone OS-implemented thread. On Windows and Mac OS, stand-alone
Racket uses a few private OS-implemented threads for background Racket uses a few private OS-implemented threads for background
tasks, but these OS-implemented threads are never exposed by the tasks, but these OS-implemented threads are never exposed by the
Racket API. Racket API.

View File

@ -994,7 +994,7 @@ from position @var{d} in @var{bytes}. If @var{d} is non-zero, then
[FSSpec* spec] [FSSpec* spec]
[int isdir])]{ [int isdir])]{
Mac OS X only: Converts an @cppi{FSSpec} record (defined by Mac OS X) Mac OS only: Converts an @cppi{FSSpec} record (defined by Mac OS)
into a pathname string. If @var{spec} contains only directory into a pathname string. If @var{spec} contains only directory
information (via the @cpp{vRefNum} and @cpp{parID} fields), information (via the @cpp{vRefNum} and @cpp{parID} fields),
@var{isdir} should be @cpp{1}, otherwise it should be @cpp{0}.} @var{isdir} should be @cpp{1}, otherwise it should be @cpp{0}.}
@ -1004,11 +1004,11 @@ information (via the @cpp{vRefNum} and @cpp{parID} fields),
[FSSpec* spec] [FSSpec* spec]
[intptr_t* type])]{ [intptr_t* type])]{
Mac OS X only: Converts a pathname into an @cppi{FSSpec} record Mac OS only: Converts a pathname into an @cppi{FSSpec} record
(defined by Mac OS X), returning @cpp{1} if successful and @cpp{0} (defined by Mac OS), returning @cpp{1} if successful and @cpp{0}
otherwise. If @var{type} is not @cpp{NULL} and @var{filename} is a otherwise. If @var{type} is not @cpp{NULL} and @var{filename} is a
file that exists, @var{type} is filled with the file's four-character file that exists, @var{type} is filled with the file's four-character
Mac OS X type. If @var{type} is not @cpp{NULL} and @var{filename} is Mac OS type. If @var{type} is not @cpp{NULL} and @var{filename} is
not a file that exists, @var{type} is filled with @cpp{0}.} not a file that exists, @var{type} is filled with @cpp{0}.}
@function[(char* scheme_os_getcwd @function[(char* scheme_os_getcwd

View File

@ -4,7 +4,7 @@
@title{Subprocesses} @title{Subprocesses}
On Unix and Mac OS X, subprocess handling involves On Unix and Mac OS, subprocess handling involves
@as-index[@cpp{fork}], @as-index[@cpp{waitpid}], and @as-index[@cpp{fork}], @as-index[@cpp{waitpid}], and
@as-index[@cpp{SIGCHLD}], which creates a variety of issues within an @as-index[@cpp{SIGCHLD}], which creates a variety of issues within an
embedding application. On Windows, subprocess handling is more embedding application. On Windows, subprocess handling is more

View File

@ -604,7 +604,7 @@ The @cpp{scheme_add_fd_handle} function is useful for implementing
the second procedure passed to @cpp{scheme_wait_until}, or for the second procedure passed to @cpp{scheme_wait_until}, or for
implementing a custom input port. implementing a custom input port.
On Unix and Mac OS X, this function has no effect.} On Unix and Mac OS, this function has no effect.}
@function[(void scheme_add_fd_eventmask @function[(void scheme_add_fd_eventmask
@ -621,7 +621,7 @@ The event mask is only used when some handle is installed with
@cpp{scheme_add_fd_handle}. This awkward restriction may force you @cpp{scheme_add_fd_handle}. This awkward restriction may force you
to create a dummy semaphore that is never posted. to create a dummy semaphore that is never posted.
On Unix, and Mac OS X, this function has no effect.} On Unix, and Mac OS, this function has no effect.}
@function[(void scheme_add_evt @function[(void scheme_add_evt
[Scheme_Type type] [Scheme_Type type]

View File

@ -12,7 +12,7 @@
The @racketmodname[compiler/bundle-dist] library provides a function The @racketmodname[compiler/bundle-dist] library provides a function
to pack a directory (usually assembled by to pack a directory (usually assembled by
@racket[assemble-distribution]) into a distribution file. On @racket[assemble-distribution]) into a distribution file. On
Windows, the result is a @filepath{.zip} archive; on Mac OS X, it's Windows, the result is a @filepath{.zip} archive; on Mac OS, it's
a @filepath{.dmg} disk image; on Unix, it's a @filepath{.tgz} a @filepath{.dmg} disk image; on Unix, it's a @filepath{.tgz}
archive.} archive.}
@ -27,7 +27,7 @@ has no extension, a file extension is added automatcially (using the
first result of @racket[bundle-put-file-extension+style+filters]). first result of @racket[bundle-put-file-extension+style+filters]).
The created archive contains a directory with the same name as The created archive contains a directory with the same name as
@racket[dir]---except on Mac OS X when @racket[for-exe?] is true @racket[dir]---except on Mac OS when @racket[for-exe?] is true
and @racket[dir] contains a single a single file or directory, in and @racket[dir] contains a single a single file or directory, in
which case the created disk image contains just the file or which case the created disk image contains just the file or
directory. The default for @racket[for-exe?] is @racket[#f]. directory. The default for @racket[for-exe?] is @racket[#f].

View File

@ -33,7 +33,7 @@ platform-specific:
distribution directory, and DLLs and other run-time files go distribution directory, and DLLs and other run-time files go
into a @filepath{lib} sub-directory.} into a @filepath{lib} sub-directory.}
@item{On Mac OS X, GUI executables go into the distribution @item{On Mac OS, GUI executables go into the distribution
directory, other executables go into a @filepath{bin} directory, other executables go into a @filepath{bin}
subdirectory, and frameworks (i.e., shared libraries) go into a subdirectory, and frameworks (i.e., shared libraries) go into a
@filepath{lib} sub-directory along with other run-time files. As @filepath{lib} sub-directory along with other run-time files. As

View File

@ -184,7 +184,7 @@ currently supported keys are as follows:
@itemize[ @itemize[
@item{@racket['icns] (Mac OS X) : An icon file path (suffix @item{@racket['icns] (Mac OS) : An icon file path (suffix
@filepath{.icns}) to use for the executable's desktop icon.} @filepath{.icns}) to use for the executable's desktop icon.}
@item{@racket['ico] (Windows) : An icon file path (suffix @item{@racket['ico] (Windows) : An icon file path (suffix
@ -194,10 +194,10 @@ currently supported keys are as follows:
executable are replaced with icons from the file, executable are replaced with icons from the file,
instead of setting only certain sizes and depths.}]} instead of setting only certain sizes and depths.}]}
@item{@racket['creator] (Mac OS X) : Provides a 4-character string @item{@racket['creator] (Mac OS) : Provides a 4-character string
to use as the application signature.} to use as the application signature.}
@item{@racket['file-types] (Mac OS X) : Provides a list of @item{@racket['file-types] (Mac OS) : Provides a list of
association lists, one for each type of file handled by the association lists, one for each type of file handled by the
application; each association is a two-element list, where the application; each association is a two-element list, where the
first (key) element is a string recognized by Finder, and the first (key) element is a string recognized by Finder, and the
@ -205,7 +205,7 @@ currently supported keys are as follows:
@racketmodname[xml/plist]). See @filepath{drracket.filetypes} @racketmodname[xml/plist]). See @filepath{drracket.filetypes}
in the @filepath{drracket} collection for an example.} in the @filepath{drracket} collection for an example.}
@item{@racket['uti-exports] (Mac OS X) : Provides a list of @item{@racket['uti-exports] (Mac OS) : Provides a list of
association lists, one for each @as-index{Uniform Type association lists, one for each @as-index{Uniform Type
Identifier} (UTI) exported by the executable; each association Identifier} (UTI) exported by the executable; each association
is a two-element list, where the first (key) element is a is a two-element list, where the first (key) element is a
@ -214,7 +214,7 @@ currently supported keys are as follows:
@filepath{drracket.utiexports} in the @filepath{drracket} @filepath{drracket.utiexports} in the @filepath{drracket}
collection for an example.} collection for an example.}
@item{@racket['resource-files] (Mac OS X) : extra files to copy into @item{@racket['resource-files] (Mac OS) : extra files to copy into
the @filepath{Resources} directory of the generated the @filepath{Resources} directory of the generated
executable.} executable.}
@ -230,7 +230,7 @@ currently supported keys are as follows:
where the configuration directory is consulted for information where the configuration directory is consulted for information
about collection link files).} about collection link files).}
@item{@racket['framework-root] (Mac OS X) : A string to prefix the @item{@racket['framework-root] (Mac OS) : A string to prefix the
executable's path to the Racket and GRacket frameworks executable's path to the Racket and GRacket frameworks
(including a separating slash); note that when the prefix (including a separating slash); note that when the prefix
starts @filepath{@"@"executable_path/} works for a starts @filepath{@"@"executable_path/} works for a
@ -264,7 +264,7 @@ currently supported keys are as follows:
brings the other instance to the front; @racket[#f] means that brings the other instance to the front; @racket[#f] means that
multiple instances are expected.} multiple instances are expected.}
@item{@racket['forget-exe?] (Windows, Mac OS X) : A boolean; @item{@racket['forget-exe?] (Windows, Mac OS) : A boolean;
@racket[#t] for a launcher (see @racket[launcher?] below) does @racket[#t] for a launcher (see @racket[launcher?] below) does
not preserve the original executable name for not preserve the original executable name for
@racket[(find-system-path 'exec-file)]; the main consequence @racket[(find-system-path 'exec-file)]; the main consequence
@ -276,7 +276,7 @@ currently supported keys are as follows:
executable, instead of a wrapper binary that execs the executable, instead of a wrapper binary that execs the
original; the default is @racket[#f].} original; the default is @racket[#f].}
@item{@racket['relative?] (Unix, Windows, Mac OS X) : A boolean; @item{@racket['relative?] (Unix, Windows, Mac OS) : A boolean;
@racket[#t] means that, to the degree that the generated @racket[#t] means that, to the degree that the generated
executable must refer to another, it can use a relative path executable must refer to another, it can use a relative path
(so the executables can be moved together, but not (so the executables can be moved together, but not
@ -315,7 +315,7 @@ use of @tech[#:doc reference-doc]{collection links files}.
If the @racket[#:launcher?] argument is @racket[#t], then If the @racket[#:launcher?] argument is @racket[#t], then
@racket[lid-list] should be null, @racket[literal-files] should be @racket[lid-list] should be null, @racket[literal-files] should be
null, @racket[literal-sexp] should be @racket[#f], and the platform null, @racket[literal-sexp] should be @racket[#f], and the platform
should be Windows or Mac OS X. The embedding executable is created in should be Windows or Mac OS. The embedding executable is created in
such a way that @racket[(find-system-path 'exec-file)] produces the such a way that @racket[(find-system-path 'exec-file)] produces the
source Racket or GRacket path instead of the embedding executable (but source Racket or GRacket path instead of the embedding executable (but
the result of @racket[(find-system-path 'run-file)] is still the the result of @racket[(find-system-path 'run-file)] is still the
@ -426,7 +426,7 @@ currently @racket[#f] for all platforms.}
Indicates whether Racket/GRacket executables for the current platform Indicates whether Racket/GRacket executables for the current platform
actually correspond to directories. The result is @racket[#t] on actually correspond to directories. The result is @racket[#t] on
Mac OS X when @racket[mred?] is @racket[#t], @racket[#f] otherwise.} Mac OS when @racket[mred?] is @racket[#t], @racket[#f] otherwise.}
@defproc[(embedding-executable-put-file-extension+style+filters [mred? any/c]) @defproc[(embedding-executable-put-file-extension+style+filters [mred? any/c])

View File

@ -4,11 +4,11 @@
racket/contract racket/contract
compiler/exe-dylib-path)) compiler/exe-dylib-path))
@title[#:tag "exe-dylib-path"]{Mac OS X Dynamic Library Paths} @title[#:tag "exe-dylib-path"]{Mac OS Dynamic Library Paths}
@defmodule[compiler/exe-dylib-path]{The @defmodule[compiler/exe-dylib-path]{The
@racketmodname[compiler/exe-dylib-path] library provides functions for @racketmodname[compiler/exe-dylib-path] library provides functions for
reading and adjusting dynamic-library references in a Mac OS X reading and adjusting dynamic-library references in a Mac OS
executable.} executable.}
@history[#:added "6.3"] @history[#:added "6.3"]

View File

@ -39,7 +39,7 @@ For example, the command
@commandline{raco exe --gui hello.rkt} @commandline{raco exe --gui hello.rkt}
produces either @filepath{hello.exe} (Windows), @filepath{hello.app} produces either @filepath{hello.exe} (Windows), @filepath{hello.app}
(Mac OS X), or @filepath{hello} (Unix), which runs the same as running (Mac OS), or @filepath{hello} (Unix), which runs the same as running
the @filepath{hello.rkt} module in @exec{gracket}. the @filepath{hello.rkt} module in @exec{gracket}.
Library modules or other files that are referenced Library modules or other files that are referenced
@ -80,7 +80,7 @@ The @exec{raco exe} command accepts the following command-line flags:
@item{@Flag{o} @nonterm{file} --- create the executable as @item{@Flag{o} @nonterm{file} --- create the executable as
@nonterm{file}, adding a suffix to @nonterm{file} as appropriate @nonterm{file}, adding a suffix to @nonterm{file} as appropriate
for the platform and executable type. On Mac OS X in @DFlag{gui} for the platform and executable type. On Mac OS in @DFlag{gui}
mode, @nonterm{file} is actually a bundle directory, but it appears mode, @nonterm{file} is actually a bundle directory, but it appears
as a file within Finder.} as a file within Finder.}
@ -127,7 +127,7 @@ The @exec{raco exe} command accepts the following command-line flags:
use of the @racket['ico] auxiliary association for more information use of the @racket['ico] auxiliary association for more information
about expected icon sizes and transformations.} about expected icon sizes and transformations.}
@item{@DFlag{icns} @nonterm{.icns-path} --- on Mac OS X, set the icons @item{@DFlag{icns} @nonterm{.icns-path} --- on Mac OS, set the icons
for the generated executable to be the content of for the generated executable to be the content of
@nonterm{.icns-path}.} @nonterm{.icns-path}.}

View File

@ -44,7 +44,7 @@ platform-specific options (i.e., it is a list of pairs where the first
element of the pair is a key symbol and the second element is the element of the pair is a key symbol and the second element is the
value for that key). See also @racket[build-aux-from-path]. See value for that key). See also @racket[build-aux-from-path]. See
@racket[create-embedding-executable] for a list that applies to both @racket[create-embedding-executable] for a list that applies to both
stand-alone executables and launchers on Windows and Mac OS X GRacket; stand-alone executables and launchers on Windows and Mac OS GRacket;
the following additional associations apply to launchers: the following additional associations apply to launchers:
@itemize[ @itemize[
@ -54,7 +54,7 @@ the following additional associations apply to launchers:
Racket or GRacket binary, like @exec{raco.exe}. No other Racket or GRacket binary, like @exec{raco.exe}. No other
@racket[aux] associations are used for an old-style launcher.} @racket[aux] associations are used for an old-style launcher.}
@item{@racket['exe-name] (Mac OS X, @racket['script-3m] or @item{@racket['exe-name] (Mac OS, @racket['script-3m] or
@racket['script-cgc] variant) --- provides the base name for a @racket['script-cgc] variant) --- provides the base name for a
@racket['3m]-/@racket['cgc]-variant launcher, which the script @racket['3m]-/@racket['cgc]-variant launcher, which the script
will call ignoring @racket[args]. If this name is not provided, will call ignoring @racket[args]. If this name is not provided,
@ -170,7 +170,7 @@ tethering.
void?]{ void?]{
Like @racket[make-gracket-launcher], but for starting Racket. On Mac Like @racket[make-gracket-launcher], but for starting Racket. On Mac
OS X, the @racket['exe-name] @racket[aux] association is ignored.} OS, the @racket['exe-name] @racket[aux] association is ignored.}
@defproc[(make-gracket-program-launcher [file string?] @defproc[(make-gracket-program-launcher [file string?]
@ -296,7 +296,7 @@ For Windows, the @filepath{.exe}
suffix is automatically appended to @racket[name]. For Unix, suffix is automatically appended to @racket[name]. For Unix,
@racket[name] is changed to lowercase, whitespace is changed to @racket[name] is changed to lowercase, whitespace is changed to
@litchar{-}, and the path includes the @filepath{bin} subdirectory of @litchar{-}, and the path includes the @filepath{bin} subdirectory of
the Racket installation. For Mac OS X, the @filepath{.app} suffix the Racket installation. For Mac OS, the @filepath{.app} suffix
is appended to @racket[name]. is appended to @racket[name].
@history[#:changed "6.5.0.2" @elem{Added the @racket[#:tethered?] argument.}]} @history[#:changed "6.5.0.2" @elem{Added the @racket[#:tethered?] argument.}]}
@ -329,7 +329,7 @@ launchers.}
Returns @racket[#t] if GRacket launchers for the current platform are Returns @racket[#t] if GRacket launchers for the current platform are
implemented as directories from the filesystem's perspective. The implemented as directories from the filesystem's perspective. The
result is @racket[#t] for Mac OS X, @racket[#f] for all other result is @racket[#t] for Mac OS, @racket[#f] for all other
platforms.} platforms.}
@ -471,7 +471,7 @@ are as follows:
@itemize[ @itemize[
@item{@filepath{.icns} @'rarr @racket['icns] file for use on Mac @item{@filepath{.icns} @'rarr @racket['icns] file for use on Mac
OS X} OS}
@item{@filepath{.ico} @'rarr @racket['ico] file for use on @item{@filepath{.ico} @'rarr @racket['ico] file for use on
Windows or Unix} Windows or Unix}
@ -483,17 +483,17 @@ are as follows:
(the file content is ignored) for use on Windows} (the file content is ignored) for use on Windows}
@item{@filepath{.creator} @'rarr @racket['creator] as the initial @item{@filepath{.creator} @'rarr @racket['creator] as the initial
four characters in the file for use on Mac OS X} four characters in the file for use on Mac OS}
@item{@filepath{.filetypes} @'rarr @racket['file-types] as @item{@filepath{.filetypes} @'rarr @racket['file-types] as
@racket[read] content (a single S-expression), and @racket[read] content (a single S-expression), and
@racket['resource-files] as a list constructed by finding @racket['resource-files] as a list constructed by finding
@racket["CFBundleTypeIconFile"] entries in @racket['file-types] @racket["CFBundleTypeIconFile"] entries in @racket['file-types]
(and filtering duplicates); for use on Mac OS X} (and filtering duplicates); for use on Mac OS}
@item{@filepath{.utiexports} @'rarr @racket['uti-exports] as @item{@filepath{.utiexports} @'rarr @racket['uti-exports] as
@racket[read] content (a single S-expression); for use on @racket[read] content (a single S-expression); for use on
Mac OS X} Mac OS}
@item{@filepath{.wmclass} @'rarr @racket['wm-class] as the literal @item{@filepath{.wmclass} @'rarr @racket['wm-class] as the literal
content, removing a trailing newline if any; for use on Unix} content, removing a trailing newline if any; for use on Unix}
@ -517,7 +517,7 @@ are as follows:
A parameter that indicates a variant of Racket or GRacket to use for A parameter that indicates a variant of Racket or GRacket to use for
launcher creation and for generating launcher names. The default is launcher creation and for generating launcher names. The default is
the result of @racket[(system-type 'gc)]. On Unix and Windows, the the result of @racket[(system-type 'gc)]. On Unix and Windows, the
possibilities are @racket['cgc] and @racket['3m]. On Mac OS X, the possibilities are @racket['cgc] and @racket['3m]. On Mac OS, the
@racket['script-3m] and @racket['script-cgc] variants are also @racket['script-3m] and @racket['script-cgc] variants are also
available for GRacket launchers.} available for GRacket launchers.}
@ -527,7 +527,7 @@ Returns a list of symbols corresponding to available variants of GRacket
in the current Racket installation. The list normally includes at in the current Racket installation. The list normally includes at
least one of @racket['3m] or @racket['cgc]--- whichever is the result least one of @racket['3m] or @racket['cgc]--- whichever is the result
of @racket[(system-type 'gc)]---and may include the other, as well as of @racket[(system-type 'gc)]---and may include the other, as well as
@racket['script-3m] and/or @racket['script-cgc] on Mac OS X.} @racket['script-3m] and/or @racket['script-cgc] on Mac OS.}
@defproc[(available-racket-variants) (listof symbol?)]{ @defproc[(available-racket-variants) (listof symbol?)]{

View File

@ -649,7 +649,7 @@ Optional @filepath{info.rkt} fields trigger additional actions by
If @racket[install-platform] is defined, then the files are copied If @racket[install-platform] is defined, then the files are copied
only if the current platform matches the definition. only if the current platform matches the definition.
On Mac OS X, when a Mach-O file is copied, if the copied file On Mac OS, when a Mach-O file is copied, if the copied file
includes a library reference that starts @litchar{@"@"loader_path/}, includes a library reference that starts @litchar{@"@"loader_path/},
and if the referenced library exists in a different location among and if the referenced library exists in a different location among
the paths listed by @racket[(get-lib-search-dirs)], then the the paths listed by @racket[(get-lib-search-dirs)], then the

View File

@ -477,7 +477,7 @@ the custodian is shut down. A converter is not registered with a
custodian (and does not need to be closed) if it is one of the custodian (and does not need to be closed) if it is one of the
guaranteed combinations not involving @racket[""] on Unix, or if it guaranteed combinations not involving @racket[""] on Unix, or if it
is any of the guaranteed combinations (including @racket[""]) on is any of the guaranteed combinations (including @racket[""]) on
Windows and Mac OS X. Windows and Mac OS.
@margin-note{In the Racket software distributions for Windows, a suitable @margin-note{In the Racket software distributions for Windows, a suitable
@filepath{iconv.dll} is included with @filepath{libmzsch@italic{VERS}.dll}.} @filepath{iconv.dll} is included with @filepath{libmzsch@italic{VERS}.dll}.}

View File

@ -57,17 +57,17 @@ the locale's encoding; and, finally, Racket provides functions such as
encoding. encoding.
A Unix user selects a locale by setting environment variables, such as A Unix user selects a locale by setting environment variables, such as
@envvar{LC_ALL}. On Windows and Mac OS X, the operating system @envvar{LC_ALL}. On Windows and Mac OS, the operating system
provides other mechanisms for setting the locale. Within Racket, the provides other mechanisms for setting the locale. Within Racket, the
current locale can be changed by setting the @racket[current-locale] current locale can be changed by setting the @racket[current-locale]
parameter. The locale name within Racket is a string, and the parameter. The locale name within Racket is a string, and the
available locale names depend on the platform and its configuration, available locale names depend on the platform and its configuration,
but the @racket[""] locale means the current user's default locale; but the @racket[""] locale means the current user's default locale;
on Windows and Mac OS X, the encoding for @racket[""] is always on Windows and Mac OS, the encoding for @racket[""] is always
UTF-8, and locale-sensitive operations use the operating system's UTF-8, and locale-sensitive operations use the operating system's
native interface. (In particular, setting the @envvar{LC_ALL} and native interface. (In particular, setting the @envvar{LC_ALL} and
@envvar{LC_CTYPE} environment variables does not affect the locale @envvar{LC_CTYPE} environment variables does not affect the locale
@racket[""] on Mac OS X. Use @racket[getenv] and @racket[""] on Mac OS. Use @racket[getenv] and
@racket[current-locale] to explicitly install the @racket[current-locale] to explicitly install the
environment-specified locale, if desired.) Setting the current locale environment-specified locale, if desired.) Setting the current locale
to @racket[#f] makes locale-sensitive operations locale-insensitive, to @racket[#f] makes locale-sensitive operations locale-insensitive,

View File

@ -212,7 +212,7 @@ An @tech{extension-load handler} takes the same arguments as a
@tech{load handler}, but the file should be a platform-specific @tech{load handler}, but the file should be a platform-specific
@deftech{dynamic extension}, typically with the file suffix @deftech{dynamic extension}, typically with the file suffix
@filepath{.so} (Unix), @filepath{.dll} (Windows), or @filepath{.dylib} @filepath{.so} (Unix), @filepath{.dll} (Windows), or @filepath{.dylib}
(Mac OS X). The file is loaded using internal, OS-specific (Mac OS). The file is loaded using internal, OS-specific
primitives. See @other-manual['(lib primitives. See @other-manual['(lib
"scribblings/inside/inside.scrbl")] for more information on "scribblings/inside/inside.scrbl")] for more information on
@tech{dynamic extensions}.} @tech{dynamic extensions}.}
@ -249,8 +249,7 @@ file when the given path ends with @filepath{.rkt}, no @filepath{.rkt}
file exists, and when the handler's second argument is a symbol. In file exists, and when the handler's second argument is a symbol. In
addition, the default @tech{compiled-load handler} checks for addition, the default @tech{compiled-load handler} checks for
@filepath{.zo} (bytecode) files and @filepath{.so} (native Unix), @filepath{.zo} (bytecode) files and @filepath{.so} (native Unix),
@filepath{.dll} (native Windows), or @filepath{.dylib} (native Mac OS @filepath{.dll} (native Windows), or @filepath{.dylib} (native Mac OS) files.
X) files.
The check for a compiled file occurs whenever the given path The check for a compiled file occurs whenever the given path
@racket[_file] ends with any extension (e.g., @filepath{.rkt} or @racket[_file] ends with any extension (e.g., @filepath{.rkt} or

View File

@ -339,10 +339,10 @@ affect only the ability of processes to acquire locks) or they may
correspond to mandatory locks that prevent reads and writes to the correspond to mandatory locks that prevent reads and writes to the
locked file. Specifically, locks are mandatory on Windows and advisory locked file. Specifically, locks are mandatory on Windows and advisory
on other platforms. Multiple tries for a @racket['shared] lock on a on other platforms. Multiple tries for a @racket['shared] lock on a
single port can succeed; on Unix and Mac OS X, a single single port can succeed; on Unix and Mac OS, a single
@racket[port-file-unlock] release the lock, while on other Windows, a @racket[port-file-unlock] release the lock, while on other Windows, a
@racket[port-file-unlock] is needed for each successful @racket[port-file-unlock] is needed for each successful
@racket[port-try-file-lock?]. On Unix and Mac OS X, multiple tries for @racket[port-try-file-lock?]. On Unix and Mac OS, multiple tries for
a @racket['exclusive] lock can succeed and a single a @racket['exclusive] lock can succeed and a single
@racket[port-file-unlock] releases the lock, while on Windows, a try @racket[port-file-unlock] releases the lock, while on Windows, a try
for an @racket['exclusive] lock fails for a given port if the port for an @racket['exclusive] lock fails for a given port if the port
@ -355,9 +355,9 @@ output port, and vice versa. If the output port from
corresponding input port can still acquire a @racket['shared] lock, corresponding input port can still acquire a @racket['shared] lock,
even multiple times; on Windows, a @racket[port-file-unlock] is needed even multiple times; on Windows, a @racket[port-file-unlock] is needed
for each successful lock try, while a single @racket[port-file-unlock] for each successful lock try, while a single @racket[port-file-unlock]
balances the lock tries on Unix and Mac OS X. A @racket['shared] lock on balances the lock tries on Unix and Mac OS. A @racket['shared] lock on
an input port can be upgraded to an @racket['exclusive] lock through the an input port can be upgraded to an @racket['exclusive] lock through the
corresponding output port on Unix and Mac OS X, in which case a single corresponding output port on Unix and Mac OS, in which case a single
@racket[port-file-unlock] (on either port) releases the lock, while @racket[port-file-unlock] (on either port) releases the lock, while
such upgrades are not allowed on Windows. such upgrades are not allowed on Windows.

View File

@ -31,7 +31,7 @@ by @racket[kind], which must be one of the following:
variable is defined as a @tech{complete} path, then the path is used variable is defined as a @tech{complete} path, then the path is used
as the user's home directory. as the user's home directory.
On Unix and Mac OS X, when @envvar{PLTUSERHOME} does not apply, On Unix and Mac OS, when @envvar{PLTUSERHOME} does not apply,
the user's home directory is determined by the user's home directory is determined by
expanding the path @filepath{~}, which is expanded by first checking expanding the path @filepath{~}, which is expanded by first checking
for a @indexed-envvar{HOME} environment variable. If none is defined, for a @indexed-envvar{HOME} environment variable. If none is defined,
@ -58,7 +58,7 @@ by @racket[kind], which must be one of the following:
determined by @envvar{PLTUSERHOME}, otherwise in the user's determined by @envvar{PLTUSERHOME}, otherwise in the user's
application-data folder as specified by the Windows registry; the application-data folder as specified by the Windows registry; the
application-data folder is usually @filepath{Application Data} in the application-data folder is usually @filepath{Application Data} in the
user's profile directory. On Mac OS X, the preferences directory user's profile directory. On Mac OS, the preferences directory
is @filepath{Library/Preferences} in the is @filepath{Library/Preferences} in the
@tech{user's home directory}. The preferences directory might not exist.} @tech{user's home directory}. The preferences directory might not exist.}
@ -66,8 +66,7 @@ by @racket[kind], which must be one of the following:
symbol-keyed association list of preference values. The file's symbol-keyed association list of preference values. The file's
directory path always matches the result returned for directory path always matches the result returned for
@racket['pref-dir]. The file name is @filepath{racket-prefs.rktd} on Unix @racket['pref-dir]. The file name is @filepath{racket-prefs.rktd} on Unix
and Windows, and it is @filepath{org.racket-lang.prefs.rktd} on Mac OS and Windows, and it is @filepath{org.racket-lang.prefs.rktd} on Mac OS. The file's directory might not exist. See also
X. The file's directory might not exist. See also
@racket[get-preference].} @racket[get-preference].}
@item{@indexed-racket['temp-dir] --- the standard directory for @item{@indexed-racket['temp-dir] --- the standard directory for
@ -115,7 +114,7 @@ by @racket[kind], which must be one of the following:
environment variable or flag is specified, or if the value is not a environment variable or flag is specified, or if the value is not a
legal path name, then this directory defaults to legal path name, then this directory defaults to
@filepath{Library/Racket} in the @tech{user's home directory} on Mac @filepath{Library/Racket} in the @tech{user's home directory} on Mac
OS X and @racket['pref-dir] otherwise. The directory might not OS and @racket['pref-dir] otherwise. The directory might not
exist.} exist.}
@item{@indexed-racket['doc-dir] --- the standard directory for @item{@indexed-racket['doc-dir] --- the standard directory for
@ -124,7 +123,7 @@ by @racket[kind], which must be one of the following:
home directory} if determined by @envvar{PLTUSERHOME}, otherwise it home directory} if determined by @envvar{PLTUSERHOME}, otherwise it
is the user's documents folder as specified by the Windows registry; is the user's documents folder as specified by the Windows registry;
the documents folder is usually @filepath{My Documents} in the user's the documents folder is usually @filepath{My Documents} in the user's
home directory. On Mac OS X, it's the @filepath{Documents} directory home directory. On Mac OS, it's the @filepath{Documents} directory
in the @tech{user's home directory}.} in the @tech{user's home directory}.}
@item{@indexed-racket['desk-dir] --- the directory for the current user's @item{@indexed-racket['desk-dir] --- the directory for the current user's
@ -132,7 +131,7 @@ by @racket[kind], which must be one of the following:
Windows, it is the @tech{user's home directory} if determined by Windows, it is the @tech{user's home directory} if determined by
@envvar{PLTUSERHOME}, otherwise it is the user's desktop folder as @envvar{PLTUSERHOME}, otherwise it is the user's desktop folder as
specified by the Windows registry; the desktop folder is usually specified by the Windows registry; the desktop folder is usually
@filepath{Desktop} in the user's home directory. On Mac OS X, it is @filepath{Desktop} in the user's home directory. On Mac OS, it is
@filepath{Desktop} in the @tech{user's home directory}} @filepath{Desktop} in the @tech{user's home directory}}
@item{@indexed-racket['sys-dir] --- the directory containing the @item{@indexed-racket['sys-dir] --- the directory containing the
@ -301,12 +300,12 @@ This procedure can be used to move a file/directory to a different
directory (on the same filesystem) as well as rename a file/directory within directory (on the same filesystem) as well as rename a file/directory within
a directory. Unless @racket[exists-ok?] is provided as a true value, a directory. Unless @racket[exists-ok?] is provided as a true value,
@racket[new] cannot refer to an existing file or directory, but the @racket[new] cannot refer to an existing file or directory, but the
check is not atomic with the rename operation on Unix and Mac OS X. Even if check is not atomic with the rename operation on Unix and Mac OS. Even if
@racket[exists-ok?] is true, @racket[new] cannot refer to an existing @racket[exists-ok?] is true, @racket[new] cannot refer to an existing
file when @racket[old] is a directory, and vice versa. file when @racket[old] is a directory, and vice versa.
If @racket[new] exists and is replaced, the replacement is atomic If @racket[new] exists and is replaced, the replacement is atomic
on Unix and Mac OS X, but it is not guaranteed to be atomic on on Unix and Mac OS, but it is not guaranteed to be atomic on
Windows. Furthermore, if @racket[new] exists and is opened by any Windows. Furthermore, if @racket[new] exists and is opened by any
process for reading or writing, then attempting to replace it will process for reading or writing, then attempting to replace it will
typically fail on Windows. See also @racket[call-with-atomic-output-file]. typically fail on Windows. See also @racket[call-with-atomic-output-file].
@ -405,7 +404,7 @@ identity of the referenced file or directory (if any).}
@defproc[(file-size [path path-string?]) exact-nonnegative-integer?]{ @defproc[(file-size [path path-string?]) exact-nonnegative-integer?]{
Returns the (logical) size of the specified file in bytes. On Mac Returns the (logical) size of the specified file in bytes. On Mac
OS X, this size excludes the resource-fork size. On error (e.g., if no OS, this size excludes the resource-fork size. On error (e.g., if no
such file exists), the @exnraise[exn:fail:filesystem].} such file exists), the @exnraise[exn:fail:filesystem].}
@ -471,7 +470,7 @@ simplified, complete, directory path.
The path is not checked for existence when the parameter is set. The path is not checked for existence when the parameter is set.
On Unix and Mac OS X, the initial value of the parameter for a Racket On Unix and Mac OS, the initial value of the parameter for a Racket
process is taken from the @indexed-envvar{PWD} environment process is taken from the @indexed-envvar{PWD} environment
variable---if the value of the environment variable identifies the variable---if the value of the environment variable identifies the
same directory as the operating system's report of the current same directory as the operating system's report of the current
@ -1199,7 +1198,7 @@ Opens a temporary file for writing in the same directory as
@racket[file], calls @racket[proc] to write to the temporary file, and @racket[file], calls @racket[proc] to write to the temporary file, and
then atomically moves the temporary file in place of @racket[file]. then atomically moves the temporary file in place of @racket[file].
The atomic move simply uses @racket[rename-file-or-directory] on Unix The atomic move simply uses @racket[rename-file-or-directory] on Unix
and Mac OS X, but it uses an extra rename step (see below) on Windows and Mac OS, but it uses an extra rename step (see below) on Windows
to avoid problems due to concurrent readers of @racket[file]. to avoid problems due to concurrent readers of @racket[file].
The @racket[proc] function is called with an output port for the The @racket[proc] function is called with an output port for the
@ -1288,7 +1287,7 @@ paths are checked for compatibility with old versions of Racket:
@item{Windows: @racket[(build-path (find-system-path 'pref-dir) 'up "PLT Scheme" "plt-prefs.ss")]} @item{Windows: @racket[(build-path (find-system-path 'pref-dir) 'up "PLT Scheme" "plt-prefs.ss")]}
@item{Mac OS X: @racket[(build-path (find-system-path 'pref-dir) "org.plt-scheme.prefs.ss")]} @item{Mac OS: @racket[(build-path (find-system-path 'pref-dir) "org.plt-scheme.prefs.ss")]}
@item{Unix: @racket[(expand-user-path "~/.plt-scheme/plt-prefs.ss")]} @item{Unix: @racket[(expand-user-path "~/.plt-scheme/plt-prefs.ss")]}

View File

@ -13,7 +13,7 @@
@note-lib[racket/future] @note-lib[racket/future]
@margin-note{Currently, parallel support for @racket[future] is enabled @margin-note{Currently, parallel support for @racket[future] is enabled
by default for Windows, Linux x86/x86_64, and Mac OS X x86/x86_64. To by default for Windows, Linux x86/x86_64, and Mac OS x86/x86_64. To
enable support for other platforms, use @DFlag{enable-futures} with enable support for other platforms, use @DFlag{enable-futures} with
@exec{configure} when building Racket.} @exec{configure} when building Racket.}

View File

@ -62,7 +62,7 @@ through environment variables:
same as for @envvar{PLTSTDERR}. same as for @envvar{PLTSTDERR}.
The default is @racket["none"] for Unix or @racket["error"] for The default is @racket["none"] for Unix or @racket["error"] for
Windows and Mac OS X.} Windows and Mac OS.}
] ]

View File

@ -23,7 +23,7 @@
[(_ . rest) [(_ . rest)
(examples #:eval mz-eval . rest)])) (examples #:eval mz-eval . rest)]))
(define AllUnix "Unix and Mac OS X") (define AllUnix "Unix and Mac OS")
(provide AllUnix) (provide AllUnix)
(provide note-lib) (provide note-lib)

View File

@ -26,7 +26,7 @@ hardware threads.
@margin-note{Currently, parallel support for places is enabled @margin-note{Currently, parallel support for places is enabled
only for Racket 3m (which is the main variant of Racket), and only only for Racket 3m (which is the main variant of Racket), and only
by default for Windows, Linux x86/x86_64, and Mac OS X x86/x86_64. To by default for Windows, Linux x86/x86_64, and Mac OS x86/x86_64. To
enable support for other platforms, use @DFlag{enable-places} with enable support for other platforms, use @DFlag{enable-places} with
@exec{configure} when building Racket. The @racket[place-enabled?] @exec{configure} when building Racket. The @racket[place-enabled?]
function reports whether places run in parallel.} function reports whether places run in parallel.}

View File

@ -40,7 +40,7 @@ In @indexed-racket['link] mode, the possible symbol results are:
@item{@indexed-racket['static] (Unix)} @item{@indexed-racket['static] (Unix)}
@item{@indexed-racket['shared] (Unix)} @item{@indexed-racket['shared] (Unix)}
@item{@indexed-racket['dll] (Windows)} @item{@indexed-racket['dll] (Windows)}
@item{@indexed-racket['framework] (Mac OS X)} @item{@indexed-racket['framework] (Mac OS)}
] ]
Future ports of Racket may expand the list of @racket['os], Future ports of Racket may expand the list of @racket['os],
@ -74,7 +74,7 @@ are:
@item{@indexed-racket['scalable] --- resources consumed by a @item{@indexed-racket['scalable] --- resources consumed by a
@tech{filesystem change event} are effectively limited only by @tech{filesystem change event} are effectively limited only by
available memory, as opposed to file-descriptor limits; this property available memory, as opposed to file-descriptor limits; this property
is @racket[#f] on Mac OS X and BSD variants of Unix} is @racket[#f] on Mac OS and BSD variants of Unix}
@item{@indexed-racket['low-latency] --- creation and checking of a @item{@indexed-racket['low-latency] --- creation and checking of a
@tech{filesystem change event} is practically instantaneous; this @tech{filesystem change event} is practically instantaneous; this
property is @racket[#f] on Linux} property is @racket[#f] on Linux}
@ -90,7 +90,7 @@ are:
Returns a string to identify the current user's language and Returns a string to identify the current user's language and
country. country.
On Unix and Mac OS X, the string is five characters: two lowercase On Unix and Mac OS, the string is five characters: two lowercase
ASCII letters for the language, an underscore, and two uppercase ASCII ASCII letters for the language, an underscore, and two uppercase ASCII
letters for the country. On Windows, the string can be arbitrarily letters for the country. On Windows, the string can be arbitrarily
long, but the language and country are in English (all ASCII letters long, but the language and country are in English (all ASCII letters
@ -102,7 +102,7 @@ On Unix, the result is determined by checking the
result is used if the environment variable's value starts with two result is used if the environment variable's value starts with two
lowercase ASCII letters, an underscore, and two uppercase ASCII lowercase ASCII letters, an underscore, and two uppercase ASCII
letters, followed by either nothing or a period). On Windows and letters, followed by either nothing or a period). On Windows and
Mac OS X, the result is determined by system calls.} Mac OS, the result is determined by system calls.}
@defproc[(system-library-subpath [mode (or/c 'cgc '3m #f) @defproc[(system-library-subpath [mode (or/c 'cgc '3m #f)

View File

@ -19,7 +19,7 @@ The core Racket run-time system is available in two main variants:
@item{Racket, which provides the primitives libraries on which @item{Racket, which provides the primitives libraries on which
@racketmodname[racket/base] is implemented. On Unix and Mac @racketmodname[racket/base] is implemented. On Unix and Mac
OS X, the executable is called OS, the executable is called
@as-index{@exec{racket}}. On Windows, the executable is @as-index{@exec{racket}}. On Windows, the executable is
called @as-index{@exec{Racket.exe}}.} called @as-index{@exec{Racket.exe}}.}
@ -30,7 +30,7 @@ The core Racket run-time system is available in two main variants:
the @racket[racket/gui/base] library. On Windows, the the @racket[racket/gui/base] library. On Windows, the
executable is called @as-index{@exec{GRacket.exe}}, and it is a executable is called @as-index{@exec{GRacket.exe}}, and it is a
GUI application (as opposed to a console application) that GUI application (as opposed to a console application) that
implements single-instance support. On Mac OS X, the implements single-instance support. On Mac OS, the
@exec{gracket} script launches @as-index{@exec{GRacket.app}}.} @exec{gracket} script launches @as-index{@exec{GRacket.app}}.}
] ]
@ -181,7 +181,7 @@ flags:
@item{@FlagFirst{k} @nonterm{n} @nonterm{m} @nonterm{p} : Loads code @item{@FlagFirst{k} @nonterm{n} @nonterm{m} @nonterm{p} : Loads code
embedded in the executable from file position @nonterm{n} to embedded in the executable from file position @nonterm{n} to
@nonterm{m} and from @nonterm{m} to @nonterm{p}. (On Mac OS X, @nonterm{m} and from @nonterm{m} to @nonterm{p}. (On Mac OS,
@nonterm{n}, @nonterm{m}, and @nonterm{p} are relative to a @nonterm{n}, @nonterm{m}, and @nonterm{p} are relative to a
@tt{__PLTSCHEME} segment in the executable. On Windows, @tt{__PLTSCHEME} segment in the executable. On Windows,
they are relative to a resource of type 257 and ID 1.) The first range they are relative to a resource of type 257 and ID 1.) The first range
@ -228,7 +228,7 @@ flags:
@item{@FlagFirst{v} or @DFlagFirst{version} : Shows @item{@FlagFirst{v} or @DFlagFirst{version} : Shows
@racket[(banner)].} @racket[(banner)].}
@item{@FlagFirst{K} or @DFlagFirst{back} : GRacket, Mac OS X only; @item{@FlagFirst{K} or @DFlagFirst{back} : GRacket, Mac OS only;
leave application in the background.} leave application in the background.}
@item{@FlagFirst{V} @DFlagFirst{no-yield} : Skips final @item{@FlagFirst{V} @DFlagFirst{no-yield} : Skips final
@ -401,7 +401,7 @@ the insertion of @Flag{u}/@DFlag{require-script}):
] ]
Similarly, on Mac OS X, a leading switch starting with Similarly, on Mac OS, a leading switch starting with
@FlagFirst{psn_} is treated as a special configuration option. It @FlagFirst{psn_} is treated as a special configuration option. It
indicates that Finder started the application, so the current input, indicates that Finder started the application, so the current input,
output, and error output are redirected to a GUI window. output, and error output are redirected to a GUI window.

View File

@ -29,7 +29,7 @@ environment variables @racket[current-environment-variables]. See also
@racket[system] and @racket[process] from @racket[system] and @racket[process] from
@racketmodname[racket/system]. @racketmodname[racket/system].
@margin-note{On Unix and Mac OS X, subprocess creation is separate @margin-note{On Unix and Mac OS, subprocess creation is separate
from starting the program indicated by @racket[command]. In from starting the program indicated by @racket[command]. In
particular, if @racket[command] refers to a non-existent or particular, if @racket[command] refers to a non-existent or
non-executable file, an error will be reported (via standard error and non-executable file, an error will be reported (via standard error and
@ -40,7 +40,7 @@ The @racket[command] argument is a path to a program executable, and
the @racket[arg]s are command-line arguments for the program. See the @racket[arg]s are command-line arguments for the program. See
@racket[find-executable-path] for locating an executable based on @racket[find-executable-path] for locating an executable based on
the @envvar{PATH} environment variable. On the @envvar{PATH} environment variable. On
Unix and Mac OS X, command-line arguments are passed as byte strings, Unix and Mac OS, command-line arguments are passed as byte strings,
and string @racket[arg]s are converted using the current locale's and string @racket[arg]s are converted using the current locale's
encoding (see @secref["encodings"]). On Windows, command-line encoding (see @secref["encodings"]). On Windows, command-line
arguments are passed as strings, and bytes strings are converted using arguments are passed as strings, and bytes strings are converted using
@ -155,14 +155,14 @@ current platform:
@item{@racket[force?] is true, not a group, all platforms: Terminates @item{@racket[force?] is true, not a group, all platforms: Terminates
the process if the process still running.} the process if the process still running.}
@item{@racket[force?] is false, not a group, on Unix or Mac OS X: @item{@racket[force?] is false, not a group, on Unix or Mac OS:
Sends the process an interrupt signal instead of a kill Sends the process an interrupt signal instead of a kill
signal.} signal.}
@item{@racket[force?] is false, not a group, on Windows: No action @item{@racket[force?] is false, not a group, on Windows: No action
is taken.} is taken.}
@item{@racket[force?] is true, a group, on Unix or Mac OS X: @item{@racket[force?] is true, a group, on Unix or Mac OS:
Terminates all processes in the group, but only if Terminates all processes in the group, but only if
@racket[subprocess-status] has never produced a @racket[subprocess-status] has never produced a
non-@racket['running] result for the subprocess and only if non-@racket['running] result for the subprocess and only if
@ -175,7 +175,7 @@ current platform:
@item{@racket[force?] is true, a group, on Windows: Terminates @item{@racket[force?] is true, a group, on Windows: Terminates
the process if the process still running.} the process if the process still running.}
@item{@racket[force?] is false, a group, on Unix or Mac OS X: The @item{@racket[force?] is false, a group, on Unix or Mac OS: The
same as when @racket[force?] is @racket[#t], but when the group same as when @racket[force?] is @racket[#t], but when the group
is sent a signal, it is an interrupt signal instead of a kill is sent a signal, it is an interrupt signal instead of a kill
signal.} signal.}
@ -344,7 +344,7 @@ real process ID).}
[#:set-pwd? set-pwd? any/c (member (system-type) '(unix macosx))]) [#:set-pwd? set-pwd? any/c (member (system-type) '(unix macosx))])
boolean?]{ boolean?]{
Executes a Unix, Mac OS X, or Windows shell command synchronously Executes a Unix, Mac OS, or Windows shell command synchronously
(i.e., the call to @racket[system] does not return until the (i.e., the call to @racket[system] does not return until the
subprocess has ended). The @racket[command] argument is a string or subprocess has ended). The @racket[command] argument is a string or
byte string containing no nul characters. If the command succeeds, the byte string containing no nul characters. If the command succeeds, the
@ -424,7 +424,7 @@ Like @racket[system*], but returns the exit code like
((or/c 'status 'wait 'interrupt 'kill) . -> . any))]{ ((or/c 'status 'wait 'interrupt 'kill) . -> . any))]{
Executes a shell command asynchronously (using @exec{sh} on Unix Executes a shell command asynchronously (using @exec{sh} on Unix
and Mac OS X, @exec{cmd} on Windows). The result is a list of five and Mac OS, @exec{cmd} on Windows). The result is a list of five
values: values:
@margin-note{See also @racket[subprocess] for notes about error @margin-note{See also @racket[subprocess] for notes about error
@ -460,7 +460,7 @@ handling and the limited buffer capacity of subprocess pipes.}
on @|AllUnix|, and takes no action on Windows. The result is on @|AllUnix|, and takes no action on Windows. The result is
@|void-const|. @|void-const|.
@margin-note{On Unix and Mac OS X, if @racket[command] runs a @margin-note{On Unix and Mac OS, if @racket[command] runs a
single program, then @exec{sh} typically runs the program in single program, then @exec{sh} typically runs the program in
such a way that it replaces @exec{sh} in the same process. For such a way that it replaces @exec{sh} in the same process. For
reliable and precise control over process creation, however, use reliable and precise control over process creation, however, use

View File

@ -34,7 +34,7 @@ _path)]. Since that is not the case for other platforms, however,
@racket[path-element->bytes] and @racket[path-element->string] should @racket[path-element->bytes] and @racket[path-element->string] should
be used when converting individual path elements. be used when converting individual path elements.
On Mac OS X, Finder aliases are zero-length files. On Mac OS, Finder aliases are zero-length files.
@section[#:tag "unixpathrep"]{Unix Path Representation} @section[#:tag "unixpathrep"]{Unix Path Representation}

View File

@ -432,7 +432,7 @@ elements have an attributes list (even if it's empty).}
The @racketmodname[xml/plist] library provides the ability to read and The @racketmodname[xml/plist] library provides the ability to read and
write XML documents that conform to the @defterm{plist} DTD, which is write XML documents that conform to the @defterm{plist} DTD, which is
used to store dictionaries of string--value associations. This format used to store dictionaries of string--value associations. This format
is used by Mac OS X (both the operating system and its applications) is used by Mac OS (both the operating system and its applications)
to store all kinds of data. to store all kinds of data.
A @deftech{plist value} is a value that could be created by an A @deftech{plist value} is a value that could be created by an

View File

@ -14,7 +14,7 @@
@margin-note{ @margin-note{
@not-on-the-web{This is an installation-specific listing.} @not-on-the-web{This is an installation-specific listing.}
Running @exec{raco docs} Running @exec{raco docs}
(or @exec{Racket Documentation} on Windows or Mac OS X) (or @exec{Racket Documentation} on Windows or Mac OS)
may open a different page with local and user-specific may open a different page with local and user-specific
documentation, including documentation for installed packages. documentation, including documentation for installed packages.

View File

@ -1,7 +1,7 @@
#lang racket #lang racket
;; Works for Linux when the build is configured `--enable-libs`. ;; Works for Linux when the build is configured `--enable-libs`.
;; Almost works for Mac OS X. ;; Almost works for Mac OS.
;; Assumes 3m. ;; Assumes 3m.
;; Since `--enable-libs` is not the default, disable test for now: ;; Since `--enable-libs` is not the default, disable test for now:

View File

@ -71,7 +71,7 @@
;; Create directories for libs, collects, and extensions: ;; Create directories for libs, collects, and extensions:
(let-values ([(lib-dir collects-dir relative-collects-dir exts-dir relative-exts-dir) (let-values ([(lib-dir collects-dir relative-collects-dir exts-dir relative-exts-dir)
(if single-mac-app? (if single-mac-app?
;; Special case: single Mac OS X GRacket app: ;; Special case: single Mac OS GRacket app:
(let-values ([(base name dir?) (let-values ([(base name dir?)
(split-path (car binaries))]) (split-path (car binaries))])
(values (values

View File

@ -1464,7 +1464,7 @@
;; Delete-file isn't enough if the target ;; Delete-file isn't enough if the target
;; is supposed to be a directory. But ;; is supposed to be a directory. But
;; currently, that happens only for GRacket ;; currently, that happens only for GRacket
;; on Mac OS X, which is handled above. ;; on Mac OS, which is handled above.
(delete-file dest)) (delete-file dest))
(copy-file exe dest) (copy-file exe dest)
(values dest exe #f)])]) (values dest exe #f)])])
@ -1800,7 +1800,7 @@
(set-subsystem dest-exe (cdr m)))))])))) (set-subsystem dest-exe (cdr m)))))]))))
(done-writable dest-exe old-perms)))))) (done-writable dest-exe old-perms))))))
;; For Mac OS X GRacket, the actual executable is deep inside the ;; For Mac OS GRacket, the actual executable is deep inside the
;; nominal executable bundle ;; nominal executable bundle
(define (mac-mred-collects-path-adjust p) (define (mac-mred-collects-path-adjust p)
(cond (cond

View File

@ -985,7 +985,7 @@
(define non-pointer-typedef-names (define non-pointer-typedef-names
;; Under Windows, things like HANDLE and HWND, are not ;; Under Windows, things like HANDLE and HWND, are not
;; malloced and could overlap with GCed areas. ;; malloced and could overlap with GCed areas.
;; Mac OS X has similar things. ;; Mac OS has similar things.
#cs #cs
'(HANDLE '(HANDLE
HWND HDC HMENU HWND HDC HMENU

View File

@ -29,7 +29,7 @@
;; Must finalize all stmts before closing db, but also want stmts to be ;; Must finalize all stmts before closing db, but also want stmts to be
;; independently finalizable. So db needs strong refs to stmts (but no ;; independently finalizable. So db needs strong refs to stmts (but no
;; strong refs to prepared-statement% wrappers). Actually, sqlite3 maintains ;; strong refs to prepared-statement% wrappers). Actually, sqlite3 maintains
;; stmt list internally, but sqlite3_next_stmt is not available on Mac OS X ;; stmt list internally, but sqlite3_next_stmt is not available on Mac OS
;; 10.5.* versions of libsqlite3. ;; 10.5.* versions of libsqlite3.
(define stmt-table (make-hasheq)) ;; hasheq[_sqlite3_statement => #t] (define stmt-table (make-hasheq)) ;; hasheq[_sqlite3_statement => #t]

View File

@ -24,7 +24,7 @@
;; - Fedora 21: lib{crypto,ssl}.so.1.0.1j, also lib{crypto,ssl}.so.10 ;; - Fedora 21: lib{crypto,ssl}.so.1.0.1j, also lib{crypto,ssl}.so.10
;; - Fedora 22: lib{crypto,ssl}.so.1.0.1k, also lib{crypto,ssl}.so.10 ;; - Fedora 22: lib{crypto,ssl}.so.1.0.1k, also lib{crypto,ssl}.so.10
;; - Fedora also provides a versionless library in pkg "openssl-devel" ;; - Fedora also provides a versionless library in pkg "openssl-devel"
;; - Mac OS X includes 0.9.8, 0.9.7, and versionless ;; - Mac OS includes 0.9.8, 0.9.7, and versionless
(define openssl-lib-versions (define openssl-lib-versions
'(;; Versionless (eg from devel pkg) '(;; Versionless (eg from devel pkg)

View File

@ -1,4 +1,4 @@
;; Support for loading root cerficates from Mac OS X keychains. ;; Support for loading root cerficates from Mac OS keychains.
#lang racket/base #lang racket/base
(require ffi/unsafe (require ffi/unsafe

View File

@ -6,7 +6,7 @@ available at http://racket-lang.org/; pre-compiled nightly builds are
available at http://pre.racket-lang.org/installers/. available at http://pre.racket-lang.org/installers/.
The Racket and GRacket source code should compile and execute on The Racket and GRacket source code should compile and execute on
Windows, Mac OS X, or any Unix/X platform (including Linux). Windows, Mac OS, or any Unix/X platform (including Linux).
Per-platform instructions are below. Per-platform instructions are below.
@ -37,7 +37,7 @@ Racket's `system-type' procedure returns 'unix, not 'windows, and
`racket/gui' uses Gtk instead of Win32). `racket/gui' uses Gtk instead of Win32).
======================================================================== ========================================================================
Compiling for Mac OS X Compiling for Mac OS
======================================================================== ========================================================================
First, install developer command-line tools from Apple. As of this First, install developer command-line tools from Apple. As of this
@ -78,7 +78,7 @@ but note the following:
directory structure on top of an existing Unix-style directory directory structure on top of an existing Unix-style directory
structure.) structure.)
* Under Mac OS X 10.6 and later, to build Racket in 32-bit mode, * Under Mac OS 10.6 and later, to build Racket in 32-bit mode,
use `--disable-mac64'. use `--disable-mac64'.
======================================================================== ========================================================================

28
racket/src/configure vendored
View File

@ -1460,16 +1460,16 @@ Optional Features:
--enable-lt=<prog> use <prog> instead of libtool; disable to use bundled --enable-lt=<prog> use <prog> instead of libtool; disable to use bundled
--enable-libs install static libraries (enabled by default for Unix) --enable-libs install static libraries (enabled by default for Unix)
--enable-libffi use installed libffi (enabled by default for Unix) --enable-libffi use installed libffi (enabled by default for Unix)
--enable-sdk=<path> use Mac OS X 10.4 SDK directory --enable-sdk=<path> use Mac OS 10.4 SDK directory
--enable-sdk5=<path> use Mac OS X 10.5 SDK directory --enable-sdk5=<path> use Mac OS 10.5 SDK directory
--enable-sdk6=<path> use Mac OS X 10.6 SDK directory --enable-sdk6=<path> use Mac OS 10.6 SDK directory
--enable-ios=<path> use iOS SDK directory --enable-ios=<path> use iOS SDK directory
--enable-sysroot=<path> use sysroot directory (e.g., for Android) --enable-sysroot=<path> use sysroot directory (e.g., for Android)
--enable-xonx use Unix style (e.g., use Gtk) for Mac OS X --enable-xonx use Unix style (e.g., use Gtk) for Mac OS
--enable-libfw install Mac OS X frameworks to /Library/Frameworks --enable-libfw install Mac OS frameworks to /Library/Frameworks
--enable-userfw install Mac OS X frameworks to ~/Library/Frameworks --enable-userfw install Mac OS frameworks to ~/Library/Frameworks
--enable-macprefix allow --prefix with a Mac OS X install --enable-macprefix allow --prefix with a Mac OS install
--enable-mac64 allow 64-bit Mac OS X build (enabled by default) --enable-mac64 allow 64-bit Mac OS build (enabled by default)
--enable-cgcdefault use CGC as default build (NOT RECOMMENDED) --enable-cgcdefault use CGC as default build (NOT RECOMMENDED)
--enable-sgc use Senora GC instead of Boehm GC (enabled by default) --enable-sgc use Senora GC instead of Boehm GC (enabled by default)
--enable-sgcdebug use Senora GC for debugging (expensive debug mode) --enable-sgcdebug use Senora GC for debugging (expensive debug mode)
@ -2870,7 +2870,7 @@ if test "${enable_shared}" = "yes" ; then
case "$host_os" in case "$host_os" in
darwin*) darwin*)
if test "${enable_xonx}" != "yes" ; then if test "${enable_xonx}" != "yes" ; then
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS X," echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS,"
echo " unless you also use --enable-xonx" echo " unless you also use --enable-xonx"
exit 1 exit 1
fi fi
@ -2894,7 +2894,7 @@ else
fi fi
if test "${prefix}" != "NONE" ; then if test "${prefix}" != "NONE" ; then
if test "${enable_macprefix}" != "yes" ; then if test "${enable_macprefix}" != "yes" ; then
echo "ERROR: --prefix not allowed for a Mac OS X build, unless either" echo "ERROR: --prefix not allowed for a Mac OS build, unless either"
echo " --enable-xonx is supplied (to create a Unix-style" echo " --enable-xonx is supplied (to create a Unix-style"
echo " build), or " echo " build), or "
echo " --enable-macprefix is supplied (to allow a Mac-style" echo " --enable-macprefix is supplied (to allow a Mac-style"
@ -3088,7 +3088,7 @@ show_explicitly_disabled "${enable_strip}" "Debug-symbol stripping"
show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)" show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)" show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS X" show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system" show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user" show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
@ -3103,7 +3103,7 @@ if test "${enable_sdk}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk and --enable-ios" echo "ERROR: cannot specify both --enable-sdk and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.4 SDK directory ${enable_sdk}" echo "=== Using Mac OS 10.4 SDK directory ${enable_sdk}"
fi fi
if test "${enable_sdk5}" != "" ; then if test "${enable_sdk5}" != "" ; then
if test "${enable_sdk6}" != "" ; then if test "${enable_sdk6}" != "" ; then
@ -3112,13 +3112,13 @@ if test "${enable_sdk5}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios" echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.5 SDK directory ${enable_sdk}" echo "=== Using Mac OS 10.5 SDK directory ${enable_sdk}"
fi fi
if test "${enable_sdk6}" != "" ; then if test "${enable_sdk6}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios" echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.6 SDK directory ${enable_sdk6}" echo "=== Using Mac OS 10.6 SDK directory ${enable_sdk6}"
fi fi
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "=== Using ios SDK directory ${enable_ios}" echo "=== Using ios SDK directory ${enable_ios}"

View File

@ -21207,19 +21207,19 @@ need_locks=$lt_need_locks
# Manifest tool. # Manifest tool.
MANIFEST_TOOL=$lt_MANIFEST_TOOL MANIFEST_TOOL=$lt_MANIFEST_TOOL
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. # Tool to manipulate archived DWARF debug symbol files on Mac OS.
DSYMUTIL=$lt_DSYMUTIL DSYMUTIL=$lt_DSYMUTIL
# Tool to change global to local symbols on Mac OS X. # Tool to change global to local symbols on Mac OS.
NMEDIT=$lt_NMEDIT NMEDIT=$lt_NMEDIT
# Tool to manipulate fat objects and archives on Mac OS X. # Tool to manipulate fat objects and archives on Mac OS.
LIPO=$lt_LIPO LIPO=$lt_LIPO
# ldd/readelf like tool for Mach-O binaries on Mac OS X. # ldd/readelf like tool for Mach-O binaries on Mac OS.
OTOOL=$lt_OTOOL OTOOL=$lt_OTOOL
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS 10.4.
OTOOL64=$lt_OTOOL64 OTOOL64=$lt_OTOOL64
# Old archive suffix (normally "a"). # Old archive suffix (normally "a").

View File

@ -2,9 +2,9 @@ See "../native-libs/README.txt" for information about building most
3rd-party native libraries that are needed for Racket libraries 3rd-party native libraries that are needed for Racket libraries
In addition, the `racket/gui' library uses MMTabBarView (64-bit OS X In addition, the `racket/gui' library uses MMTabBarView (64-bit Mac OS
10.10 and later) and/or PSMTabBarControl (all other OS versions) on 10.10 and later) and/or PSMTabBarControl (all other OS versions) on
Mac OS X. Mac OS.
MMTabBarView MMTabBarView
------------ ------------

View File

@ -4,14 +4,13 @@ contrast, libraries implemented in various packages, such as the
such as Cairo, GMP, etc., all of which are loaded dynamically. On Unix such as Cairo, GMP, etc., all of which are loaded dynamically. On Unix
variants, we expect users to install C-implemented libraries (usually variants, we expect users to install C-implemented libraries (usually
through the operating system's package manager). For Windows and Mac through the operating system's package manager). For Windows and Mac
OS X, we supply pre-built libraries in platform-specific packages; the OS, we supply pre-built libraries in platform-specific packages; the
corresponding Racket packages include platform-specific dependencies corresponding Racket packages include platform-specific dependencies
on those packages. The "x86_64-linux-natipkg" variant of Racket on those packages. The "x86_64-linux-natipkg" variant of Racket
is like Windows and Mac OS X, expecting packages to supply native is like Windows and Mac OS, expecting packages to supply native
libraries for 64-bit Linux. libraries for 64-bit Linux.
This directory contains scripts and patches to build Windows, Mac OS This directory contains scripts and patches to build Windows, Mac OS, and Linux libraries in a consistent and portable way. Naturally,
X, and Linux libraries in a consistent and portable way. Naturally,
the script and patches are fragile, so we upgrade libraries the script and patches are fragile, so we upgrade libraries
infrequently. Currently, we use the following external packages and infrequently. Currently, we use the following external packages and
versions: versions:
@ -58,12 +57,12 @@ versions:
gtk+-2.24.24 gtk+-2.24.24
See "../mac/README.txt" for information about an additional See "../mac/README.txt" for information about an additional
library on Mac OS X. library on Mac OS.
Preliminiaries Preliminiaries
-------------- --------------
For Windows (cross-compile from Mac OS X or Linux): For Windows (cross-compile from Mac OS or Linux):
The build scripts assume a MinGW cross compiler installed in The build scripts assume a MinGW cross compiler installed in
"/usr/mw32" (for 32-bit builds) and "/usr/mw64" (for 64-bit builds). "/usr/mw32" (for 32-bit builds) and "/usr/mw64" (for 64-bit builds).
@ -74,7 +73,7 @@ Beware that the "libdir" configuration in
/usr/mw{32,64}/{i686,x86_64}-w64-mingw32/lib/libstdc++.la /usr/mw{32,64}/{i686,x86_64}-w64-mingw32/lib/libstdc++.la
may be wrong, in which case you'll need to fix it by hand. may be wrong, in which case you'll need to fix it by hand.
For Mac OS X (i386 and x86_64 on Intel, ppc on PowerPC): For Mac OS (i386 and x86_64 on Intel, ppc on PowerPC):
The script assumes that "/Developer/SDKs/MacOSX10.5.sdk" (for 32-bit The script assumes that "/Developer/SDKs/MacOSX10.5.sdk" (for 32-bit
builds) and "/Developer/SDKs/MacOSX10.6.sdk" (for 64-bit builds) are builds) and "/Developer/SDKs/MacOSX10.6.sdk" (for 64-bit builds) are
@ -111,7 +110,7 @@ Build Steps (assuming no version changes)
--archives <archive-dir> --archives <archive-dir>
where <here-dir> is the deirectory containing this file, where <here-dir> is the deirectory containing this file,
`--win' versus `--mac' selects a Windows versus Mac OS X build, `--win' versus `--mac' selects a Windows versus Mac OS build,
and `--m32' versus `--m64' selects a 32-bit versus 64-bit build. and `--m32' versus `--m64' selects a 32-bit versus 64-bit build.
* Run * Run
@ -144,7 +143,7 @@ confusing at best.
More details for Windows: More details for Windows:
* GNU `sed' is built to run on the build platform, just in case the * GNU `sed' is built to run on the build platform, just in case the
build platform's `sed' is BSD-style (as on Mac OS X). build platform's `sed' is BSD-style (as on Mac OS).
* The generated ".dll"s go to "dest/bin". * The generated ".dll"s go to "dest/bin".
@ -155,7 +154,7 @@ More details for Windows:
uses `-static-libgcc' and `-static-libstdc++' to statically link uses `-static-libgcc' and `-static-libstdc++' to statically link
those libraries. Use "depends.exe" to check DLL dependencies. those libraries. Use "depends.exe" to check DLL dependencies.
More details for Mac OS X: More details for Mac OS:
* 32-bit binaries are built for 10.5 and up. 64-bit binaries are * 32-bit binaries are built for 10.5 and up. 64-bit binaries are
built for 10.6 and up. built for 10.6 and up.

View File

@ -119,7 +119,7 @@
;; Patch to avoid writing to a global constant: ;; Patch to avoid writing to a global constant:
(define-runtime-path cairo-allclipmodifybug-patch "patches/allclipmodifybug.patch") (define-runtime-path cairo-allclipmodifybug-patch "patches/allclipmodifybug.patch")
;; Hack to workaround broken Courier New in Mac OS X 10.{7.8}: ;; Hack to workaround broken Courier New in Mac OS 10.{7.8}:
(define-runtime-path courier-new-patch "patches/courier-new.patch") (define-runtime-path courier-new-patch "patches/courier-new.patch")
;; Enable kerning and set DPI to 72: ;; Enable kerning and set DPI to 72:

View File

@ -26,7 +26,7 @@
#:once-any #:once-any
[("--win") "build Windows via MinGW" [("--win") "build Windows via MinGW"
(set! win? #t)] (set! win? #t)]
[("--mac") "build for/on Mac OS X" [("--mac") "build for/on Mac OS"
(set! win? #f)] (set! win? #f)]
[("--linux") "build for/on Linux" [("--linux") "build for/on Linux"
(set! win? #f) (set! win? #f)

View File

@ -57,16 +57,16 @@ AC_ARG_ENABLE(libs, [ --enable-libs install static libraries (enab
AC_ARG_ENABLE(libffi, [ --enable-libffi use installed libffi (enabled by default for Unix)], , enable_libffi=default) AC_ARG_ENABLE(libffi, [ --enable-libffi use installed libffi (enabled by default for Unix)], , enable_libffi=default)
AC_ARG_ENABLE(sdk, [ --enable-sdk=<path> use Mac OS X 10.4 SDK directory]) AC_ARG_ENABLE(sdk, [ --enable-sdk=<path> use Mac OS 10.4 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk5=<path> use Mac OS X 10.5 SDK directory]) AC_ARG_ENABLE(sdk, [ --enable-sdk5=<path> use Mac OS 10.5 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk6=<path> use Mac OS X 10.6 SDK directory]) AC_ARG_ENABLE(sdk, [ --enable-sdk6=<path> use Mac OS 10.6 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-ios=<path> use iOS SDK directory]) AC_ARG_ENABLE(sdk, [ --enable-ios=<path> use iOS SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sysroot=<path> use sysroot directory (e.g., for Android)]) AC_ARG_ENABLE(sdk, [ --enable-sysroot=<path> use sysroot directory (e.g., for Android)])
AC_ARG_ENABLE(xonx, [ --enable-xonx use Unix style (e.g., use Gtk) for Mac OS X]) AC_ARG_ENABLE(xonx, [ --enable-xonx use Unix style (e.g., use Gtk) for Mac OS])
AC_ARG_ENABLE(libfw, [ --enable-libfw install Mac OS X frameworks to /Library/Frameworks]) AC_ARG_ENABLE(libfw, [ --enable-libfw install Mac OS frameworks to /Library/Frameworks])
AC_ARG_ENABLE(libfw, [ --enable-userfw install Mac OS X frameworks to ~/Library/Frameworks]) AC_ARG_ENABLE(libfw, [ --enable-userfw install Mac OS frameworks to ~/Library/Frameworks])
AC_ARG_ENABLE(macprefix, [ --enable-macprefix allow --prefix with a Mac OS X install]) AC_ARG_ENABLE(macprefix, [ --enable-macprefix allow --prefix with a Mac OS install])
AC_ARG_ENABLE(mac64, [ --enable-mac64 allow 64-bit Mac OS X build (enabled by default)], , enable_mac64=yes) AC_ARG_ENABLE(mac64, [ --enable-mac64 allow 64-bit Mac OS build (enabled by default)], , enable_mac64=yes)
AC_ARG_ENABLE(cgcdefault, [ --enable-cgcdefault use CGC as default build (NOT RECOMMENDED)]) AC_ARG_ENABLE(cgcdefault, [ --enable-cgcdefault use CGC as default build (NOT RECOMMENDED)])
AC_ARG_ENABLE(sgc, [ --enable-sgc use Senora GC instead of Boehm GC (enabled by default)], , enable_sgc=yes) AC_ARG_ENABLE(sgc, [ --enable-sgc use Senora GC instead of Boehm GC (enabled by default)], , enable_sgc=yes)
@ -126,7 +126,7 @@ if test "${enable_shared}" = "yes" ; then
case "$host_os" in case "$host_os" in
darwin*) darwin*)
if test "${enable_xonx}" != "yes" ; then if test "${enable_xonx}" != "yes" ; then
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS X," echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS,"
echo " unless you also use --enable-xonx" echo " unless you also use --enable-xonx"
exit 1 exit 1
fi fi
@ -150,7 +150,7 @@ else
fi fi
if test "${prefix}" != "NONE" ; then if test "${prefix}" != "NONE" ; then
if test "${enable_macprefix}" != "yes" ; then if test "${enable_macprefix}" != "yes" ; then
echo "ERROR: --prefix not allowed for a Mac OS X build, unless either" echo "ERROR: --prefix not allowed for a Mac OS build, unless either"
echo " --enable-xonx is supplied (to create a Unix-style" echo " --enable-xonx is supplied (to create a Unix-style"
echo " build), or " echo " build), or "
echo " --enable-macprefix is supplied (to allow a Mac-style" echo " --enable-macprefix is supplied (to allow a Mac-style"
@ -344,7 +344,7 @@ show_explicitly_disabled "${enable_strip}" "Debug-symbol stripping"
show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)" show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)" show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS X" show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system" show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user" show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
@ -359,7 +359,7 @@ if test "${enable_sdk}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk and --enable-ios" echo "ERROR: cannot specify both --enable-sdk and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.4 SDK directory ${enable_sdk}" echo "=== Using Mac OS 10.4 SDK directory ${enable_sdk}"
fi fi
if test "${enable_sdk5}" != "" ; then if test "${enable_sdk5}" != "" ; then
if test "${enable_sdk6}" != "" ; then if test "${enable_sdk6}" != "" ; then
@ -368,13 +368,13 @@ if test "${enable_sdk5}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios" echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.5 SDK directory ${enable_sdk}" echo "=== Using Mac OS 10.5 SDK directory ${enable_sdk}"
fi fi
if test "${enable_sdk6}" != "" ; then if test "${enable_sdk6}" != "" ; then
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios" echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios"
fi fi
echo "=== Using Mac OS X 10.6 SDK directory ${enable_sdk6}" echo "=== Using Mac OS 10.6 SDK directory ${enable_sdk6}"
fi fi
if test "${enable_ios}" != "" ; then if test "${enable_ios}" != "" ; then
echo "=== Using ios SDK directory ${enable_ios}" echo "=== Using ios SDK directory ${enable_ios}"