From 21f0a8aa71305095f9d7682c571ca56c1559ac6e Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 24 Sep 2007 16:10:13 +0000 Subject: 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 --- aconfigure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'aconfigure.ac') 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) -- cgit v1.2.3