summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2023-09-27 18:38:02 (GMT)
committerKevin Walzer <kw@codebykevin.com>2023-09-27 18:38:02 (GMT)
commitcd76f6f22628ff8a4824a270eb51511d251d537c (patch)
tree7f4f8a4ab21029c67af117afe81803fc0dad2e30 /unix
parent12477319c69ecc396d227e770c6c6cdccc898bf9 (diff)
downloadtk-cd76f6f22628ff8a4824a270eb51511d251d537c.zip
tk-cd76f6f22628ff8a4824a270eb51511d251d537c.tar.gz
tk-cd76f6f22628ff8a4824a270eb51511d251d537c.tar.bz2
Update canvas printing implmentation on macOS to address Apple's removal of PostScript conversion tools from OS
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in2
-rwxr-xr-xunix/configure2
-rw-r--r--unix/configure.ac2
3 files changed, 3 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index a9651ac..9fce557 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1402,7 +1402,7 @@ tkMacOSXFont.o: $(MAC_OSX_DIR)/tkMacOSXFont.c
tkMacOSXHLEvents.o: $(MAC_OSX_DIR)/tkMacOSXHLEvents.c
$(CC) -c $(CC_SWITCHES) $(MAC_OSX_DIR)/tkMacOSXHLEvents.c
-tkMacOSXImage.o: $(MAC_OSX_DIR)/tkMacOSXImage.c
+tkMacOSXImage.o: $(MAC_OSX_DIR)/tkMacOSXImage.c
$(CC) -c $(CC_SWITCHES) $(MAC_OSX_DIR)/tkMacOSXImage.c
tkMacOSXInit.o: $(MAC_OSX_DIR)/tkMacOSXInit.c tkConfig.sh
diff --git a/unix/configure b/unix/configure
index dd73d5c..065c0bf 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7652,7 +7652,7 @@ if test $tk_aqua = yes; then
printf "%s\n" "#define MAC_OSX_TK 1" >>confdefs.h
- LIBS="$LIBS -framework Cocoa -framework Carbon -framework IOKit -framework QuartzCore -framework Security"
+ LIBS="$LIBS -framework Cocoa -framework Carbon -framework IOKit -framework QuartzCore -framework Security -framework CoreGraphics"
if test -d /System/Library/Frameworks/UserNotifications.framework; then
LIBS="$LIBS -framework UserNotifications"
fi
diff --git a/unix/configure.ac b/unix/configure.ac
index a81c527..38eda9d 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -284,7 +284,7 @@ fi
if test $tk_aqua = yes; then
AC_DEFINE(MAC_OSX_TK, 1, [Are we building TkAqua?])
- LIBS="$LIBS -framework Cocoa -framework Carbon -framework IOKit -framework QuartzCore -framework Security"
+ LIBS="$LIBS -framework Cocoa -framework Carbon -framework IOKit -framework QuartzCore -framework Security -framework CoreGraphics"
if test -d /System/Library/Frameworks/UserNotifications.framework; then
LIBS="$LIBS -framework UserNotifications"
fi