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 | 9 ++++++++- aconfigure.ac | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/aconfigure b/aconfigure index b53ce25a..5f65eaa9 100755 --- a/aconfigure +++ b/aconfigure @@ -2744,7 +2744,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_pjdir=`pwd` +case $target in + *mingw* | *cygw* | *win32* | *w32* ) + ac_pjdir=`pwd -W` + ;; + *) + ac_pjdir=`pwd` + ;; +esac 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