File: acinclude.m4

package info (click to toggle)
squeak-vm 1%3A4.10.2.2614-4.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,284 kB
  • ctags: 15,344
  • sloc: ansic: 75,096; cs: 11,191; objc: 5,494; sh: 3,170; asm: 1,533; cpp: 449; pascal: 372; makefile: 366; awk: 103
file content (23 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- sh -*-

AC_MSG_CHECKING([for Ogg Vorbis and Speex support])

AC_TRY_COMPILE([
  #include <vorbis/codec.h>
  #include <vorbis/vorbisenc.h>
  #include <speex/speex.h>
],[;],[
  AC_CHECK_LIB(ogg, ogg_sync_buffer,
    AC_CHECK_LIB(vorbis, vorbis_synthesis_headerin,
      AC_CHECK_LIB(speex, speex_packet_to_header,
	AC_MSG_RESULT(yes),
	AC_MSG_RESULT(no)
	AC_PLUGIN_DISABLE),
      AC_MSG_RESULT(no)
      AC_PLUGIN_DISABLE),
    AC_MSG_RESULT(no)
    AC_PLUGIN_DISABLE)
],[
  AC_MSG_RESULT(no)
  AC_PLUGIN_DISABLE
])