Changeset 3816 for pjproject/branches/1.x/aconfigure.ac
- Timestamp:
- Oct 14, 2011 4:15:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/aconfigure.ac
r3599 r3816 998 998 ]) 999 999 1000 dnl # Include opencore-amrnb support 1001 AC_SUBST(ac_no_opencore_amrnb) 1002 AC_ARG_ENABLE(opencore_amrnb, 1003 AC_HELP_STRING([--disable-opencore-amrnb], 1004 [Exclude OpenCORE AMR-NB support from the build (default: autodetect)]) 1005 , 1006 [ 1007 if test "$enable_opencore_amrnb" = "no"; then 1008 [ac_no_opencore_amrnb=1] 1009 AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,0) 1010 AC_MSG_RESULT([Checking if OpenCORE AMR-NB support is disabled... yes]) 1011 fi 1012 ], 1013 [ 1014 AC_MSG_RESULT([checking for OpenCORE AMR-NB installations..]) 1015 AC_SUBST(opencore_amrnb_h_present) 1016 AC_SUBST(opencore_amrnb_present) 1017 AC_CHECK_HEADER(opencore-amrnb/interf_enc.h,[opencore_amrnb_h_present=1]) 1018 AC_CHECK_LIB(opencore-amrnb,Encoder_Interface_init,[opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb"]) 1019 if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then 1020 AC_MSG_RESULT([OpenCORE AMR-NB library found, AMR-NB support enabled]) 1021 AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,1) 1022 else 1023 [ac_no_opencore_amrnb=1] 1024 AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,0) 1025 fi 1026 ]) 1027 1000 1028 1001 1029 dnl ##########################################
Note: See TracChangeset
for help on using the changeset viewer.