Changeset 700 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Sep 10, 2006 10:27:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r699 r700 28 28 AC_MSG_RESULT([Setting PJ_M_NAME to $target_cpu]) 29 29 AC_DEFINE_UNQUOTED(PJ_M_NAME,["$target_cpu"]) 30 31 dnl 32 dnl Memory alignment detection 33 dnl 34 AC_MSG_CHECKING([memory alignment]) 35 case $target in 36 ia64-* | x86_64-* ) 37 AC_DEFINE(PJ_POOL_ALIGNMENT, 8) 38 AC_MSG_RESULT([8 bytes]) 39 ;; 40 * ) 41 AC_DEFINE(PJ_POOL_ALIGNMENT, 4) 42 AC_MSG_RESULT([4 bytes (default)]) 43 ;; 44 esac 45 30 46 31 47 dnl … … 151 167 dnl # Determine if socklen_t is available 152 168 AC_MSG_CHECKING([if socklen_t is available]) 153 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include < unistd.h>]],169 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], 154 170 [socklen_t xxx = 0;])], 155 171 [AC_DEFINE(PJ_HAS_SOCKLEN_T,1) … … 204 220 dnl # Sound device backend selection 205 221 AC_SUBST(ac_pjmedia_snd) 206 case $target in 222 AC_ARG_ENABLE(sound, 223 AC_HELP_STRING([--disable-sound], 224 [Exclude sound (i.e. use null sound)]), 225 [if test "$enable_sound" = "no"; then 226 [ac_pjmedia_snd=null] 227 AC_MSG_RESULT([Checking if sound is disabled... yes]) 228 fi] 229 ) 230 231 if test "$enable_sound" = "no"; then 232 true; 233 else 234 case $target in 207 235 *darwin*) 208 236 ac_pjmedia_snd=pa_darwinos … … 227 255 AC_MSG_RESULT([Checking sound device backend... unix]) 228 256 ;; 229 esac 257 esac 258 fi 230 259 231 260 dnl # Include resampling small filter
Note: See TracChangeset
for help on using the changeset viewer.