diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-03-08 07:44:41 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-03-08 07:44:41 +0000 |
commit | f748efba1a534ad0183a758ab97d4463f2d0c4fb (patch) | |
tree | 2f3603b0ef17a6e4bc832cfd3d65b49dbf1eda1f /aconfigure.ac | |
parent | d2a58207a17c6ab783b9d03261dcb570211a8263 (diff) |
Re #1462: libresample as shared library support on Mac OS X
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3968 74dad513-b988-da41-8d7b-12977e46ad98
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) |