AC_CHECK_TYPE outputs a "Checking..." message; we don't need to issue
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Sep 2006 22:47:16 +0000 (22:47 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Sep 2006 22:47:16 +0000 (22:47 +0000)
one ourselves.

The documentation for autoconf isn't very clear on the "includes"
argument to AC_CHECK_TYPE - it's in the form of a list of #include
statements.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19140 f5534014-38df-0310-8fa8-9805f1628bb7

acinclude.m4

index 017fb5bc25bc373442b728b395758e668e679c8f..4393964ada2ce44c02725b6913df5a9c7f3d0fb9 100644 (file)
@@ -1043,7 +1043,6 @@ AC_DEFUN([AC_WIRESHARK_LIBPORTAUDIO_CHECK],[
        #
        if test "x$want_portaudio" != "xno"
        then
-               AC_MSG_CHECKING(whether PortAudioStream is defined in portaudio.h)
                AC_CHECK_TYPE(PortAudioStream,,
                [
                        CFLAGS="$wireshark_save_CFLAGS"
@@ -1058,7 +1057,7 @@ AC_DEFUN([AC_WIRESHARK_LIBPORTAUDIO_CHECK],[
                                want_portaudio=no       
                        fi
                ],
-               [INCLUDES=portaudio.h])
+               [#include <portaudio.h>])
        fi
 
        if test "x$want_portaudio" != "xno"