1# -*- Autoconf -*- 2 3# configure.ac -- Autoconf script for mm-omxaudio 4# 5 6# Process this file with autoconf to produce a configure script. 7 8AC_PREREQ(2.61) 9AC_INIT([omxaudio], 10 1.0.0) 11AM_INIT_AUTOMAKE([-Wall -Werror gnu foreign]) 12AM_MAINTAINER_MODE 13AC_CONFIG_HEADER([config.h]) 14AC_CONFIG_MACRO_DIR([m4]) 15 16#release versioning 17OMXAUDIO_MAJOR_VERSION=1 18OMXAUDIO_MINOR_VERSION=0 19OMXAUDIO_MICRO_VERSION=0 20 21OMXAUDIO_LIBRARY_VERSION=$OMXAUDIO_MAJOR_VERSION:$OMXAUDIO_MINOR_VERSION:$OMXAUDIO_MICRO_VERSION 22AC_SUBST(OMXAUDIO_LIBRARY_VERSION) 23 24# Checks for programs. 25AC_PROG_CC 26AC_PROG_CPP 27AC_PROG_CXX 28AM_PROG_CC_C_O 29AC_PROG_LIBTOOL 30AC_PROG_AWK 31AC_PROG_INSTALL 32AC_PROG_LN_S 33AC_PROG_MAKE_SET 34 35AC_CONFIG_FILES([ \ 36 Makefile \ 37 adec-aac/Makefile \ 38 adec-mp3/Makefile \ 39 aenc-aac/Makefile \ 40 adec-aac/qdsp6/Makefile \ 41 adec-mp3/qdsp6/Makefile \ 42 aenc-aac/qdsp6/Makefile \ 43 ]) 44AC_OUTPUT 45