@@ -675,7 +675,7 @@ libainstall: all
675675 fi; \
676676 done
677677 @if test -d $(LDLIBRARY); then :; else \
678- if test -z "$(PYTHONFRAMEWORKDIR)"; then \
678+ if test "$(PYTHONFRAMEWORKDIR)" = no-framework ; then \
679679 $(INSTALL_DATA) $(LDLIBRARY) $(LIBPL)/$(LDLIBRARY) ; \
680680 $(RANLIB) $(LIBPL)/$(LDLIBRARY) ; \
681681 else \
@@ -736,9 +736,9 @@ RESSRCDIR=$(srcdir)/Mac/OSXResources/framework
736736$(PYTHONFRAMEWORKDIR): $(RESSRCDIR)/Info.plist \
737737 $(RESSRCDIR)/version.plist \
738738 $(RESSRCDIR)/English.lproj/InfoPlist.strings
739- @if test -z "$(PYTHONFRAMEWORKDIR)"; then \
739+ @if test "$(PYTHONFRAMEWORKDIR)" = no-framework ; then \
740740 echo Not configured with --enable-framework; \
741- exit; \
741+ exit 1 ; \
742742 else true; \
743743 fi
744744 $(INSTALL) -d -m $(DIRMODE) $(FRAMEWORKDEST)/Resources/English.lproj
@@ -760,9 +760,9 @@ $(PYTHONFRAMEWORKDIR): $(RESSRCDIR)/Info.plist \
760760frameworkinstall: install frameworkinfrastructureinstall
761761FRAMEWORKFINALDEST=$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)
762762frameworkinfrastructureinstall: $(LDLIBRARY)
763- @if test -z "$(PYTHONFRAMEWORKDIR)"; then \
763+ @if test "$(PYTHONFRAMEWORKDIR)" = no-framework ; then \
764764 echo Not configured with --enable-framework; \
765- exit; \
765+ exit 1 ; \
766766 else true; \
767767 fi
768768 @for i in $(FRAMEWORKFINALDEST)/Resources/English.lproj $(FRAMEWORKFINALDEST)/lib; do\
0 commit comments