]> sjero.net Git - linphone/commitdiff
fix windows build
authorSimon Morlat <simon.morlat@linphone.org>
Wed, 7 Sep 2011 19:58:14 +0000 (21:58 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Wed, 7 Sep 2011 19:58:14 +0000 (21:58 +0200)
configure.ac
oRTP

index 379f23491733a8d1ac4cad1723734bf26bad80e2..5fe32ef33749bfb48803e49b16cae3162c9b43a9 100644 (file)
@@ -172,7 +172,7 @@ AC_ARG_ENABLE(relativeprefix,
         yes) relativeprefix=yes ;;
         no)  relativeprefix=no ;;
         *) AC_MSG_ERROR(bad value ${enableval} for --enable-relativeprefix) ;;
-      esac],[relativeprefix=no])
+      esac],[relativeprefix=guess])
 
 AC_ARG_ENABLE(date,
       [  --enable-date    Use build date in internal version number],
@@ -239,6 +239,11 @@ else
        package_prefix=${prefix}
 fi
 
+if test "$relativeprefix" = "guess" ; then
+       if test "$mingw_found" = "yes" ; then
+               relativeprefix="yes"
+       fi
+fi
 
 if test "$relativeprefix" = "yes" ; then
        dnl allow binaries to install everywhere
diff --git a/oRTP b/oRTP
index e16102322baf5bc6079216c44722f79d1a6202d4..38693cb535650fa668ffec8f8daecbeec6289657 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit e16102322baf5bc6079216c44722f79d1a6202d4
+Subproject commit 38693cb535650fa668ffec8f8daecbeec6289657