aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 43266be..9b2f189 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,8 @@ then
CPPFLAGS+=" -fsanitize=address -fsanitize=undefined"
fi
+_cflags_save=$CFLAGS
+CFLAGS="$CFLAGS $ORTP_CFLAGS"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[#include <ortp/ortp.h>]],
@@ -68,6 +70,7 @@ AC_COMPILE_IFELSE(
[ortp_set_log_level_mask requires domain parameter])],
[AC_DEFINE([HAVE_ORTP_LOG_DOMAIN], [0],
[ortp_set_log_level_mask has no domain parameter])])
+CFLAGS=$_cflags_save
AC_OUTPUT(
libosmoabis.pc