Recognizes if input is ogg or not.
[xiph.git] / vorbose / configure.ac
blob4da60b480af7bdfb31881d5415c175d6cf456c3b
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.57)
5 AC_INIT(src/vorbose.c)
6 AM_INIT_AUTOMAKE(vorbose, 0.1, [vorbis-dev@xiph.org])
7 AM_CONFIG_HEADER(config.h)
8 AC_CONFIG_FILES([Makefile src/Makefile])
10 # Checks for programs.
11 AC_PROG_CC
13 # Checks for libraries.
15 AC_CHECK_LIB(ogg2, ogg2pack_eop, [], [
16   AC_MSG_ERROR([$PACKAGE requires libogg2])
19 # Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS([stdlib.h string.h])
22 AC_CHECK_HEADERS([ogg2/ogg.h])
24 dnl we cheat with the vorbis headers, using our own copies since we
25 dnl access internals
27 # Checks for typedefs, structures, and compiler characteristics.
28 AC_C_CONST
30 # Checks for library functions.
31 AC_FUNC_ALLOCA
32 AC_FUNC_MALLOC
33 AC_CHECK_FUNCS([memset])
34 AC_OUTPUT