From 8a9b2149b70c6fe47915f6be3789658a34847efa Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 4 Mar 2023 15:05:35 -0800 Subject: Implement checking for windres tool in configure.ac --- src/Makefile.am | 2 +- src/Makefile.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 9e670c6..80a550c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,7 +18,7 @@ BUILT_SOURCES = icon/$(PACKAGE_NAME).res CLEANFILES = icon/$(PACKAGE_NAME).res icon/$(PACKAGE_NAME).res: icon/$(PACKAGE_NAME).ico icon/$(PACKAGE_NAME).rc - windres icon/$(PACKAGE_NAME).rc -O coff -o $@ + $(WINDRES) icon/$(PACKAGE_NAME).rc -O coff -o $@ endif else diff --git a/src/Makefile.in b/src/Makefile.in index 93e4ac6..f2f4742 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -242,6 +242,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +WINDRES = @WINDRES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -782,7 +783,7 @@ uninstall-am: uninstall-binPROGRAMS @EMBED_ICON_TRUE@@WINDOWS_TRUE@icon/$(PACKAGE_NAME).res: icon/$(PACKAGE_NAME).ico icon/$(PACKAGE_NAME).rc -@EMBED_ICON_TRUE@@WINDOWS_TRUE@ windres icon/$(PACKAGE_NAME).rc -O coff -o $@ +@EMBED_ICON_TRUE@@WINDOWS_TRUE@ $(WINDRES) icon/$(PACKAGE_NAME).rc -O coff -o $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. -- cgit