summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-05 20:11:14 +0000
committerPete Batard <pbatard@gmail.com>2010-03-05 20:11:14 +0000
commit122229e5f94f5bd97d97c9d0d8b7dd0deb4ea15d (patch)
tree13301927fd4ea08fd73d92b6d1d73b8e31305f00 /configure.ac
parent0da28601fa468b52a5a98df634bddb57eb18d2fa (diff)
downloadlibusb-122229e5f94f5bd97d97c9d0d8b7dd0deb4ea15d.tar.gz
added .rc info to DLLs produced with MinGW/cygwinr197
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f58ef81..ac08e0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ case $host in
LIBS="-lsetupapi -lole32"
AM_CFLAGS="-Wshadow"
AM_LDFLAGS="-no-undefined -avoid-version"
+ AC_CHECK_TOOL(RC, windres, no)
;;
*-cygwin*)
AC_DEFINE(OS_WINDOWS, [], [Windows backend])
@@ -54,6 +55,7 @@ case $host in
LIBS="-lpthread -lsetupapi -lole32"
AM_CFLAGS=""
AM_LDFLAGS="-no-undefined -avoid-version"
+ AC_CHECK_TOOL(RC, windres, no)
;;
*)
AC_MSG_ERROR([unsupported operating system])