diff options
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index e4a8b7fd..7deb043a 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -92,6 +92,19 @@ case $host in ;; esac +AC_SUBST(ac_shlib_suffix) +case $target in + *mingw* | *cygw* | *win32* | *w32* ) + ac_shlib_suffix=dll + ;; + *darwin*) + ac_shlib_suffix=dylib + ;; + *) + ac_shlib_suffix=so + ;; +esac + AC_CHECK_LIB(pthread,pthread_create) AC_CHECK_LIB(wsock32,puts) AC_CHECK_LIB(ws2_32,puts) |