ITS#9087 Let configure detect cross windres tool

This commit is contained in:
Ryan Tandy 2020-04-17 13:09:17 -07:00 committed by Quanah Gibson-Mount
parent 7985626fae
commit 84ab23f37f
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

@ -147,6 +147,7 @@ libraries/liblunicode/ure.c
libraries/liblunicode/ure.h
libraries/liblunicode/urestubs.c
libraries/liblunicode/version.c
libraries/liblutil/slapdmsg.res
libraries/liblutil/version.c
libraries/librewrite/rewrite
libraries/librewrite/version.c

View file

@ -708,6 +708,8 @@ case $host_os in
*interix* ) ac_cv_interix=yes ;;
esac
AC_CHECK_TOOL(RC, windres, )
dnl ----------------------------------------------------------------
dnl Checks for file extensions
AC_EXEEXT

View file

@ -50,6 +50,8 @@ testtavl: $(XLIBS) testtavl.o
# It's ok for them to be here because the clean rule is harmless, and
# slapdmsg.res won't get built unless it's declared in OBJS.
RC = @RC@
slapdmsg.bin: FORCE
@if [ ! -f $@ ]; then cp $(srcdir)/$@ .; fi