summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-10-14 03:11:38 +0200
committerGravatar Nikias Bassen2018-10-14 03:11:38 +0200
commit80fe6e859302cb771bb6b6f10feb1766d765778b (patch)
treed8a0c4408dc312f0b137d60fed9ff0b77fdca684 /configure.ac
parentf5a7387a54ae08c9cd1d83a415393e0e909dc6e6 (diff)
downloadlibusbmuxd-80fe6e859302cb771bb6b6f10feb1766d765778b.tar.gz
libusbmuxd-80fe6e859302cb771bb6b6f10feb1766d765778b.tar.bz2
Allow using non-standard usbmuxd socket address via environment variable
By using USBMUXD_SOCKET_ADDRESS environment variable, it is possible to make libusbmuxd connect to the specified address. The value needs to be in format ADDRESS:PORT (or UNIX:PATH on unix systems). If no port number is specified or parsing fails, the standard socket address (or unix domain socket file path) will be used silently.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ab056b6..d64e116 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,7 @@ case ${host_os} in
*mingw32*|*cygwin*)
AC_MSG_RESULT([yes])
win32=true
+ AC_DEFINE(WINVER, 0x0501, [minimum Windows version])
;;
darwin*)
AC_MSG_RESULT([no])