X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=configure.ac;h=dafd9e2ae37bc537ee3400dc90040c5930994843;hp=3cb6cb50d133916deab5639b2cfbf59876ed3e35;hb=refs%2Fheads%2Fbackup2;hpb=e5c315b89931092e6a3f2452893294da08635c75 diff --git a/configure.ac b/configure.ac index 3cb6cb5..dafd9e2 100644 --- a/configure.ac +++ b/configure.ac @@ -230,6 +230,20 @@ AS_IF([test "x$with_sip" == xyes -o "x$with_sip" == xyes], [ PKG_CHECK_MODULES(SOFIA, sofia-sip-ua >= 1.12) ]) +# check for VoOTP +AC_ARG_WITH([vootp], + [AS_HELP_STRING([--with-vootp], + [compile with VoOTP support (libvootp is required) @<:@default=no@:>@]) + ], + [], + [with_vootp="check"]) + +AM_CONDITIONAL(ENABLE_VOOTP, test "x$with_vootp" == "xyes" ) + +AS_IF([test "x$with_vootp" == xyes -o "x$with_vootp" == xyes], [ + PKG_CHECK_MODULES(VOOTP, libvootp >= 0.0) + ]) + # Checks for libraries. AC_CHECK_LIB([m], [main]) AC_CHECK_LIB([ncurses], [main]) @@ -275,4 +289,5 @@ AS_IF([test "x$found_opencore_amrnb" == xyes],[AC_MSG_NOTICE( Compiled with GSM AS_IF([test "x$with_asterisk" == xyes],[AC_MSG_NOTICE( Compiled with Asterisk channel driver support )],[AC_MSG_NOTICE( Not compiled with Asterisk channel driver support)]) AS_IF([test "x$with_ss5" == xyes],[AC_MSG_NOTICE( Compiled with CCITT No.5 support )],[AC_MSG_NOTICE( Not compiled with CCITT No.5 support)]) AS_IF([test "x$with_sip" == xyes],[AC_MSG_NOTICE( Compiled with SIP support )],[AC_MSG_NOTICE( Not compiled with SIP support)]) +AS_IF([test "x$with_vootp" == xyes],[AC_MSG_NOTICE( Compiled with VoOTP support )],[AC_MSG_NOTICE( Not compiled with VoOTP support)])