diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-09-24 16:10:13 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-09-24 16:10:13 +0000 |
commit | 21f0a8aa71305095f9d7682c571ca56c1559ac6e (patch) | |
tree | 72052c5958f33de5e412b0b261b86949164b24ef /aconfigure.ac | |
parent | 8d4c4eadba26e09f922ea39de047db10631ff774 (diff) |
Updated ./configure to handle Mingw problem with mount directories (thanks Lafras Henning)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1449 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index eeb2b97f..6b79f4d7 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -38,7 +38,14 @@ AC_PROG_CXX AC_LANG_C AC_SUBST(ac_pjdir) -ac_pjdir=`pwd` +case $target in + *mingw* | *cygw* | *win32* | *w32* ) + ac_pjdir=`pwd -W` + ;; + *) + ac_pjdir=`pwd` + ;; +esac AC_CHECK_LIB(pthread,pthread_create) AC_CHECK_LIB(wsock32,puts) |