aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-06 13:34:43 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-06 13:37:08 +0200
commite58d33153dd2bed3629b9a09fd6add58f296bd6a (patch)
tree5b426114f8986229563cfc9768f1eb6005045b15 /configure.ac
parent2bfc01dfd8830cf36bb8f7564604f7f357c0a0fb (diff)
ortp: Fix the version check for ORTP by not using the cached result
The second check used the cached result for ORTP. Store the result in ORTP_VERSION and my system properly detects that it is running on < 0.21. The HAVE_ORTP_021 will always be defined so just use #if and not the #ifdef to fix the build.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c285dad..3dac502 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.10)
PKG_CHECK_MODULES([ORTP], [ortp >= 0.13.1],
[
- PKG_CHECK_MODULES([ORTP], [ortp >= 0.21],
+ PKG_CHECK_MODULES([ORTP_VERSION], [ortp >= 0.21],
[AC_DEFINE(HAVE_ORTP_021, 1,
[libortp >= 0.21])],
[AC_DEFINE(HAVE_ORTP_021, 0,