Debian Codegraph @

m4/windows-rc.m4

raw
1 # windows-rc.m4
2 # serial 1
3 dnl Copyright (C) 2024-2025 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7 dnl This file is offered as-is, without any warranty.
8
9 dnl Find the tool that "compiles" a Windows resource file (.rc) to an
10 dnl object file.
11
12 AC_DEFUN_ONCE([gl_WINDOWS_RC],
13 [
14 AC_REQUIRE([AC_CANONICAL_HOST])
15 case "$host_os" in
16 mingw* | windows*)
17 dnl Check for a program that compiles Windows resource files.
18 AC_CHECK_TOOL([WINDRES], [windres])
19 ;;
20 esac
21 ])