|
|
|
@ -4,9 +4,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
AC_INIT([bcg729],[0.1]) |
|
|
|
AC_CANONICAL_SYSTEM |
|
|
|
AC_PREREQ(2.63) |
|
|
|
AC_CONFIG_SRCDIR([src/encoder.c]) |
|
|
|
AC_CONFIG_AUX_DIR([build-aux]) |
|
|
|
AC_CONFIG_MACRO_DIR([m4]) |
|
|
|
AM_INIT_AUTOMAKE([tar-ustar --warnings=no-portability]) |
|
|
|
AC_PROG_LIBTOOL |
|
|
|
@ -14,9 +14,9 @@ AC_PROG_CC |
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
|
|
|
|
|
|
|
AC_ARG_ENABLE(strict, |
|
|
|
[ --enable-strict Enable error on compilation warning [default=yes]], |
|
|
|
[wall_werror=$enableval], |
|
|
|
[wall_werror=yes] |
|
|
|
[ --enable-strict Enable error on compilation warning [default=yes]], |
|
|
|
[wall_werror=$enableval], |
|
|
|
[wall_werror=yes] |
|
|
|
) |
|
|
|
# configure option to disable the tests |
|
|
|
AC_ARG_ENABLE([tests], |
|
|
|
@ -36,14 +36,14 @@ AM_CONDITIONAL(BUILD_MSBCG729, test x${found_ms2}x${found_ortp} = xtruextrue) |
|
|
|
|
|
|
|
# Create the following files from their .in counterparts |
|
|
|
AC_CONFIG_FILES([ |
|
|
|
Makefile |
|
|
|
src/Makefile |
|
|
|
include/Makefile |
|
|
|
include/bcg729/Makefile |
|
|
|
msbcg729/Makefile |
|
|
|
test/Makefile |
|
|
|
test/bin/Makefile |
|
|
|
libbcg729.pc |
|
|
|
Makefile |
|
|
|
src/Makefile |
|
|
|
include/Makefile |
|
|
|
include/bcg729/Makefile |
|
|
|
msbcg729/Makefile |
|
|
|
test/Makefile |
|
|
|
test/bin/Makefile |
|
|
|
libbcg729.pc |
|
|
|
]) |
|
|
|
|
|
|
|
case "$target_os" in |
|
|
|
|