Changeset 5779 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Apr 9, 2018 12:30:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r5735 r5779 736 736 ;; 737 737 *) 738 dnl # Check if ALSA is available 739 ac_pjmedia_snd=alsa 740 AC_SUBST(ac_pa_use_alsa,1) 741 AC_CHECK_HEADER(alsa/version.h, 742 [LIBS="$LIBS -lasound"], 743 [ac_pa_use_alsa=0]) 744 AC_MSG_RESULT([Checking sound device backend... unix]) 745 746 dnl # Check if OSS is disabled 747 AC_SUBST(ac_pa_use_oss,1) 748 AC_ARG_ENABLE(oss, 749 AS_HELP_STRING([--disable-oss], 750 [Disable OSS audio (default: not disabled)]), 751 [ 752 if test "$enable_oss" = "no"; then 753 [ac_pa_use_oss=0] 754 AC_MSG_RESULT([Checking if OSS audio is disabled... yes]) 755 fi 756 ]) 738 if test "x$ac_external_pa" != "x1"; then 739 dnl # Check if ALSA is available 740 ac_pjmedia_snd=alsa 741 AC_SUBST(ac_pa_use_alsa,1) 742 AC_CHECK_HEADER(alsa/version.h, 743 [LIBS="$LIBS -lasound"], 744 [ac_pa_use_alsa=0]) 745 AC_MSG_RESULT([Checking sound device backend... unix]) 746 747 dnl # Check if OSS is disabled 748 AC_SUBST(ac_pa_use_oss,1) 749 AC_ARG_ENABLE(oss, 750 AS_HELP_STRING([--disable-oss], 751 [Disable OSS audio (default: not disabled)]), 752 [ 753 if test "$enable_oss" = "no"; then 754 [ac_pa_use_oss=0] 755 AC_MSG_RESULT([Checking if OSS audio is disabled... yes]) 756 fi 757 ]) 758 fi 757 759 ;; 758 760 esac
Note: See TracChangeset
for help on using the changeset viewer.