mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Refer to OS X as "macOS", except for the port name which is still "darwin".
We weren't terribly consistent about whether to call Apple's OS "OS X" or "Mac OS X", and the former is probably confusing to people who aren't Apple users. Now that Apple has rebranded it "macOS", follow their lead to establish a consistent naming pattern. Also, avoid the use of the ancient project name "Darwin", except as the port code name which does not seem desirable to change. (In short, this patch touches documentation and comments, but no actual code.) I didn't touch contrib/start-scripts/osx/, either. I suspect those are obsolete and due for a rewrite, anyway. I dithered about whether to apply this edit to old release notes, but those were responsible for quite a lot of the inconsistencies, so I ended up changing them too. Anyway, Apple's being ahistorical about this, so why shouldn't we be?
This commit is contained in:
8
configure
vendored
8
configure
vendored
@ -7658,9 +7658,9 @@ $as_echo "${python_libspec} ${python_additional_libs}" >&6; }
|
||||
|
||||
if test "$python_enable_shared" != 1; then
|
||||
if test "$PORTNAME" = darwin; then
|
||||
# OS X does supply a .dylib even though Py_ENABLE_SHARED does
|
||||
# macOS does supply a .dylib even though Py_ENABLE_SHARED does
|
||||
# not get set. The file detection logic below doesn't succeed
|
||||
# on older OS X versions, so make it explicit.
|
||||
# on older macOS versions, so make it explicit.
|
||||
python_enable_shared=1
|
||||
elif test "$PORTNAME" = win32; then
|
||||
# Windows also needs an explicit override.
|
||||
@ -10120,7 +10120,7 @@ else
|
||||
fi
|
||||
|
||||
elif test "$with_uuid" = e2fs ; then
|
||||
# On OS X, the UUID functions are in libc
|
||||
# On macOS, the UUID functions are in libc
|
||||
ac_fn_c_check_func "$LINENO" "uuid_generate" "ac_cv_func_uuid_generate"
|
||||
if test "x$ac_cv_func_uuid_generate" = xyes; then :
|
||||
UUID_LIBS=""
|
||||
@ -12672,7 +12672,7 @@ cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_DECL_STRLCPY $ac_have_decl
|
||||
_ACEOF
|
||||
|
||||
# This is probably only present on Darwin, but may as well check always
|
||||
# This is probably only present on macOS, but may as well check always
|
||||
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
|
||||
"
|
||||
if test "x$ac_cv_have_decl_F_FULLFSYNC" = xyes; then :
|
||||
|
Reference in New Issue
Block a user