@@ -2964,82 +2964,6 @@ AS_VAR_IF([ac_cv_pthread_key_t_is_arithmetic_type], [yes], [
2964
2964
2965
2965
CC="$ac_save_cc"
2966
2966
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
3043
2967
AC_MSG_CHECKING ( for -- enable-framework )
3044
2968
if test "$enable_framework"
3045
2969
then
0 commit comments