summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-06 22:17:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-06 22:17:43 +0300
commitff7be6ae2b79a8b3f0a8b094ec51d7ca3a62a265 (patch)
tree9000ce22a5443dc52a8d03067bd4f120e21062d8 /configure.ac
parent67447c1b30e85c022e66abfa886bf68f78de4d81 (diff)
downloadplus-ff7be6ae2b79a8b3f0a8b094ec51d7ca3a62a265.tar.gz
plus-ff7be6ae2b79a8b3f0a8b094ec51d7ca3a62a265.tar.bz2
plus-ff7be6ae2b79a8b3f0a8b094ec51d7ca3a62a265.tar.xz
plus-ff7be6ae2b79a8b3f0a8b094ec51d7ca3a62a265.zip
Add resources into build with mingw and automake.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7969baa0d..4df89a250 100755
--- a/configure.ac
+++ b/configure.ac
@@ -128,10 +128,18 @@ AC_TYPE_INT64_T
AC_TYPE_SSIZE_T
case $host in
- (*mingw*) skip_check_lib="yes" ;;
- (*) skip_check_lib="no"
+ (*mingw*)
+ skip_check_lib="yes"
+ mingw=true
+ ;;
+ (*)
+ skip_check_lib="no"
+ mingw=false
+ ;;
esac
+AM_CONDITIONAL(MINGW, test x$mingw = xtrue)
+
# Search for *-config
AC_PATH_PROG(PKG_CONFIG, pkg-config)
AC_PATH_PROG(CURL_CONFIG, curl-config)