diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-09 21:28:15 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-09 21:28:15 +0000 |
commit | c82fed9c2902aed74ea5da08148983159e581ad7 (patch) | |
tree | 20add97f4099b18461f7d64085e3d7756ab7ccda /aconfigure.ac | |
parent | caa7ec395db8f8dbda6c89f18339374ab89372ed (diff) |
Initial modification to Makefiles
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1182 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index b115abe1..072f6502 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -1,4 +1,4 @@ -AC_INIT(pjproject,0.5.10) +AC_INIT(pjproject,0.6.0) host_orig="$host" @@ -253,6 +253,13 @@ AC_ARG_ENABLE(sound, ) AC_SUBST(ac_pa_cflags) +AC_CHECK_HEADER(sys/soundcard.h, + [ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H"]) +AC_CHECK_HEADER(linux/soundcard.h, + [ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H"]) +AC_CHECK_HEADER(machine/soundcard.h, + [ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H"]) + if test "$enable_sound" = "no"; then true; else @@ -260,7 +267,7 @@ else *darwin*) LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" if test "`uname -r`" = "6.8"; then - #ac_pa_cflags="-DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" + #ac_pa_cflags="$ac_pa_cflags -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) ac_pjmedia_snd=pa_old_darwinos AC_MSG_RESULT([Checking sound device backend... old coreaudio]) |