Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79af40a

Browse files
authored
gh-101047: Remove vestigial references to macOS libtool options (gh-101048)
LIBTOOL_CRUFT and OTHER_LIBTOOL_OPT variables have been unused since commit 1919983 in 2011.
1 parent 4db6452 commit 79af40a

File tree

3 files changed

+0
-172
lines changed

3 files changed

+0
-172
lines changed

Makefile.pre.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@ LIPO_32BIT_FLAGS=@LIPO_32BIT_FLAGS@
198198
# Flags to lipo to produce an intel-64-only universal executable
199199
LIPO_INTEL64_FLAGS=@LIPO_INTEL64_FLAGS@
200200

201-
# Options to enable prebinding (for fast startup prior to Mac OS X 10.3)
202-
OTHER_LIBTOOL_OPT=@OTHER_LIBTOOL_OPT@
203-
204201
# Environment to run shared python without installed libraries
205202
RUNSHARED= @RUNSHARED@
206203

configure

Lines changed: 0 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,82 +2964,6 @@ AS_VAR_IF([ac_cv_pthread_key_t_is_arithmetic_type], [yes], [
29642964

29652965
CC="$ac_save_cc"
29662966

2967-
AC_SUBST(OTHER_LIBTOOL_OPT)
2968-
case $ac_sys_system/$ac_sys_release in
2969-
Darwin/@<:@01567@:>@\..*)
2970-
OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
2971-
;;
2972-
Darwin/*)
2973-
OTHER_LIBTOOL_OPT=""
2974-
;;
2975-
esac
2976-
2977-
2978-
AC_SUBST(LIBTOOL_CRUFT)
2979-
case $ac_sys_system/$ac_sys_release in
2980-
Darwin/@<:@01567@:>@\..*)
2981-
LIBTOOL_CRUFT="-framework System -lcc_dynamic"
2982-
if test "${enable_universalsdk}"; then
2983-
:
2984-
else
2985-
LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
2986-
fi
2987-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
2988-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
2989-
Darwin/*)
2990-
gcc_version=`gcc -dumpversion`
2991-
if test ${gcc_version} '<' 4.0
2992-
then
2993-
LIBTOOL_CRUFT="-lcc_dynamic"
2994-
else
2995-
LIBTOOL_CRUFT=""
2996-
fi
2997-
AC_RUN_IFELSE([AC_LANG_SOURCE([[
2998-
#include <unistd.h>
2999-
int main(int argc, char*argv[])
3000-
{
3001-
if (sizeof(long) == 4) {
3002-
return 0;
3003-
} else {
3004-
return 1;
3005-
}
3006-
}
3007-
]])],[ac_osx_32bit=yes],[ac_osx_32bit=no],[ac_osx_32bit=yes])
3008-
3009-
if test "${ac_osx_32bit}" = "yes"; then
3010-
case `/usr/bin/arch` in
3011-
i386)
3012-
MACOSX_DEFAULT_ARCH="i386"
3013-
;;
3014-
ppc)
3015-
MACOSX_DEFAULT_ARCH="ppc"
3016-
;;
3017-
*)
3018-
AC_MSG_ERROR([Unexpected output of 'arch' on macOS])
3019-
;;
3020-
esac
3021-
else
3022-
case `/usr/bin/arch` in
3023-
i386)
3024-
MACOSX_DEFAULT_ARCH="x86_64"
3025-
;;
3026-
ppc)
3027-
MACOSX_DEFAULT_ARCH="ppc64"
3028-
;;
3029-
arm64)
3030-
MACOSX_DEFAULT_ARCH="arm64"
3031-
;;
3032-
*)
3033-
AC_MSG_ERROR([Unexpected output of 'arch' on macOS])
3034-
;;
3035-
esac
3036-
3037-
fi
3038-
3039-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
3040-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
3041-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
3042-
esac
30432967
AC_MSG_CHECKING(for --enable-framework)
30442968
if test "$enable_framework"
30452969
then

0 commit comments

Comments
 (0)