X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=configure.in;h=8e718c83aae9755eff29776db9f7239d85088a75;hb=8a3d666a753516fd1b768f200675e622ac187ec8;hp=78622af1cdaa86af90a59d46f29a8eb82e916255;hpb=79e46d08a46f2fef2ee4e8eac7ba487007160564;p=tinc diff --git a/configure.in b/configure.in index 78622af1..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 @@ -173,6 +181,6 @@ AC_ARG_ENABLE(jumbograms, AC_SUBST(INCLUDES) -AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile lib/Makefile m4/Makefile]) +AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile m4/Makefile]) AC_OUTPUT