diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2008-12-21 01:44:23 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2008-12-21 01:44:23 +0800 |
commit | f8e83f9d7773117702eee31c5c703ec9f3b5d4d4 (patch) | |
tree | 460a715f21890d34de7baecb7a5f8e7bd3cb7bf1 /configure.in | |
parent | 6334b8814811e807602bcba92b4fc0ab388707bf (diff) |
device: add the new core audio device driver.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d93a194..7bb58ff 100644 --- a/configure.in +++ b/configure.in @@ -49,8 +49,13 @@ case $host in CXXFLAGS="-DWIN32_LEAN_AND_MEAN -DNOMINMAX -DADR_DECL= -DADR_CALL= $CXXFLAGS" win32=yes ;; + *darwin*) + LIBS="-Wl,-framework Cocoa -Wl,-framework AudioUnit -Wl,-framework AudioToolbox $LIBS" + darwin=yes + ;; esac AM_CONDITIONAL(HAVE_WIN32, test "x$win32" = "xyes") +AM_CONDITIONAL(HAVE_CORE_AUDIO, test "x$HAVE_CORE_AUDIO" = "xyes") dnl If building with gcc, build with all warnings except "class has virtual dnl functions but non-virtual destructor". |