Mercurial > minori
comparison configure.ac @ 247:1ae4d8b28a5c
autotools/windres: use AC_PROG_SED for sed
sed is actually surprisingly unportable. on mingw this shouldn't
be a problem, but alas, we should use it anyway
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 24 Jan 2024 20:15:35 -0500 |
parents | 4d461ef7d424 |
children | 6b2441c776dd |
comparison
equal
deleted
inserted
replaced
236:4d461ef7d424 | 247:1ae4d8b28a5c |
---|---|
40 cygwin*|mingw*) | 40 cygwin*|mingw*) |
41 # Windows | 41 # Windows |
42 build_windows=yes | 42 build_windows=yes |
43 AC_CHECK_TOOL([WINDRES], [windres]) | 43 AC_CHECK_TOOL([WINDRES], [windres]) |
44 AC_SUBST(WINDRES) | 44 AC_SUBST(WINDRES) |
45 AC_PROG_SED # We need sed for version numbers in windres | |
46 AC_SUBST(SED) | |
45 AC_DEFINE(WIN32) | 47 AC_DEFINE(WIN32) |
46 ;; | 48 ;; |
47 darwin*) | 49 darwin*) |
48 # Mac OS X | 50 # Mac OS X |
49 build_osx=yes | 51 build_osx=yes |