diff options
author | Jörg Mayer <jmayer@loplof.de> | 2006-09-05 09:17:55 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2006-09-05 09:17:55 +0000 |
commit | 72651ba02d94c02c4bbef793c587bb9bcf2790c9 (patch) | |
tree | e540c091c52d3ff1589e967ebdf85ff4251c4553 /acinclude.m4 | |
parent | 2dbe62270f6db8380750ae5c1d3c5a0e624c2252 (diff) | |
download | wireshark-72651ba02d94c02c4bbef793c587bb9bcf2790c9.tar.gz wireshark-72651ba02d94c02c4bbef793c587bb9bcf2790c9.tar.bz2 wireshark-72651ba02d94c02c4bbef793c587bb9bcf2790c9.zip |
rtp_player.c will now compile with the new API, although it will not
actually do something useful except to print that the new API is not
supported.
Adapt acinclude.m4 to provide PORTAUDIO_API_1 and add back the
check_message to indicate *why* we are checking for the type.
svn path=/trunk/; revision=19148
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 4393964ada..7e916a4cca 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1043,20 +1043,10 @@ AC_DEFUN([AC_WIRESHARK_LIBPORTAUDIO_CHECK],[ # if test "x$want_portaudio" != "xno" then - AC_CHECK_TYPE(PortAudioStream,, - [ - CFLAGS="$wireshark_save_CFLAGS" - CPPFLAGS="$wireshark_save_CPPFLAGS" - LDFLAGS="$wireshark_save_LDFLAGS" - LIBS="$wireshark_save_LIBS" - PORTAUDIO_LIBS="" - if test x$want_portaudio = xyes; - then - AC_MSG_ERROR([Wrong version of portaudio, need <= 18]) - else - want_portaudio=no - fi - ], + AC_MSG_CHECKING([whether include is (old) API version 1]) + AC_CHECK_TYPE(PortAudioStream, + AC_DEFINE(PORTAUDIO_API_1, 1, [Define if we are using version of of the Portaudio library API]), + , [#include <portaudio.h>]) fi |