summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure b/configure
index 35112107..19f81957 100755
--- a/configure
+++ b/configure
@@ -119,6 +119,7 @@ have_timegm=
have_syslog=
have_glob=
have_windows_h=
+have_windres=
have_posix_sigs=
need_darwin_c_source=
have_git=
@@ -555,7 +556,7 @@ case "$top_srcdir" in
esac
if [ "$source_dir" != "." ] ; then
- for x in Makefile share tests; do
+ for x in Makefile share tests win; do
printf "Symlinking %s -> $source_dir/%s\n" $x $x
ln -sf "$source_dir/$x" .
done
@@ -641,6 +642,8 @@ EXE := $exe
have_git := $have_git
+add_win_res := $([ -n "$have_windows_h" -a -n "$have_windres" ] && echo "y")
+
CC := $cc
LEX := $lex
YACC := $yacc
@@ -1930,6 +1933,15 @@ else
printf "no\n"
fi
+printf "Checking for windres ... "
+
+if output=$(windres -V 2> /dev/null) ; then
+ printf "yes\n"
+ have_windres=y
+else
+ printf "no\n"
+fi
+
#
# Dependent variables
#