summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-09-24 16:10:13 +0000
committerBenny Prijono <bennylp@teluu.com>2007-09-24 16:10:13 +0000
commit21f0a8aa71305095f9d7682c571ca56c1559ac6e (patch)
tree72052c5958f33de5e412b0b261b86949164b24ef
parent8d4c4eadba26e09f922ea39de047db10631ff774 (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
-rwxr-xr-xaconfigure9
-rw-r--r--aconfigure.ac9
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)