X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=configure.in;fp=configure.in;h=8e718c83aae9755eff29776db9f7239d85088a75;hp=5aacff6a47430926f712d2d789f6a066b55f448b;hb=8a3d666a753516fd1b768f200675e622ac187ec8;hpb=c19cc669d01b7720add8c80a47947a5c43ed12fc diff --git a/configure.in b/configure.in index 5aacff6a..8e718c83 100644 --- a/configure.in +++ b/configure.in @@ -71,6 +71,15 @@ case $host_os in ;; esac +case $host_os in + *mingw*) + ;; + *) + LIBS="-pthread $LIBS" + CFLAGS="-pthread $CFLAGS" + ;; +esac + AC_ARG_ENABLE(tunemu, AS_HELP_STRING([--enable-tunemu], [enable support for the tunemu driver]), [ AC_DEFINE(ENABLE_TUNEMU, 1, [Support for tunemu]) @@ -152,7 +161,6 @@ dnl These are defined in files in m4/ AC_ARG_WITH(libgcrypt, AC_HELP_STRING([--with-libgcrypt], [enable use of libgcrypt instead of OpenSSL])], []) -tinc_LIBEVENT tinc_ZLIB tinc_LZO