2012-07-11 16:45:09 +02:00
|
|
|
|
dnl -*- Autoconf -*-
|
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
2012-06-28 13:42:48 +02:00
|
|
|
|
|
2012-11-13 22:26:30 +01:00
|
|
|
|
AC_INIT([fdk-aac], [0.1.1], [http://sourceforge.net/projects/opencore-amr/])
|
2012-06-28 13:42:48 +02:00
|
|
|
|
AC_CONFIG_AUX_DIR(.)
|
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2012-07-11 17:00:39 +02:00
|
|
|
|
AM_INIT_AUTOMAKE([tar-ustar foreign])
|
2012-06-28 13:42:48 +02:00
|
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
|
|
2012-07-01 11:15:32 +02:00
|
|
|
|
dnl Various options for configure
|
|
|
|
|
AC_ARG_ENABLE([example],
|
|
|
|
|
[AS_HELP_STRING([--enable-example],
|
|
|
|
|
[enable example encoding program (default is no)])],
|
|
|
|
|
[example=$enableval], [example=no])
|
|
|
|
|
|
|
|
|
|
dnl Automake conditionals to set
|
|
|
|
|
AM_CONDITIONAL(EXAMPLE, test x$example = xyes)
|
|
|
|
|
|
2012-07-11 16:45:09 +02:00
|
|
|
|
dnl Checks for programs.
|
2012-07-01 11:15:32 +02:00
|
|
|
|
AC_PROG_CC
|
2012-06-28 13:42:48 +02:00
|
|
|
|
AC_PROG_CXX
|
2012-07-11 17:02:52 +02:00
|
|
|
|
LT_INIT
|
2012-06-28 13:42:48 +02:00
|
|
|
|
|
2012-07-14 00:58:31 +02:00
|
|
|
|
AC_CHECK_LIB([m], [sin])
|
|
|
|
|
|
2012-07-11 16:45:09 +02:00
|
|
|
|
dnl soname version to use
|
|
|
|
|
dnl goes by ‘current[:revision[:age]]’ with the soname ending up as
|
|
|
|
|
dnl current.age.revision
|
2012-11-13 22:26:30 +01:00
|
|
|
|
FDK_AAC_VERSION=0:2:0
|
2012-06-28 13:42:48 +02:00
|
|
|
|
AC_SUBST(FDK_AAC_VERSION)
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
|
|
|
fdk-aac.pc])
|
|
|
|
|
AC_OUTPUT
|