From 1c165b7cce6c2a255a71b9899cbb1f1adc83fee2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 15 Jul 2012 15:16:10 -0300 Subject: build: Rename option for SBC tester --- Makefile.am | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0db607b..536ad9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,7 @@ src_sbcenc_SOURCES = src/sbcenc.c src/formats.h src_sbcenc_LDADD = sbc/libsbc-private.la endif -if SBCTESTER +if TESTER noinst_PROGRAMS = src/sbctester src_sbctester_LDADD = @SNDFILE_LIBS@ -lm diff --git a/configure.ac b/configure.ac index 8c3ed0a..29583c3 100644 --- a/configure.ac +++ b/configure.ac @@ -48,14 +48,14 @@ AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools], [disable SBC tools]), [enable_tools=${enableval}]) AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no") -AC_ARG_ENABLE(sbctester, AC_HELP_STRING([--disable-sbctester], - [disable SBC tester]), [enable_sbctester=${enableval}]) -if (test "${enable_sbctester}" != "no"); then +AC_ARG_ENABLE(tester, AC_HELP_STRING([--disable-tester], + [disable SBC tester]), [enable_tester=${enableval}]) +if (test "${enable_tester}" != "no"); then PKG_CHECK_MODULES(SNDFILE, sndfile, dummy=yes, AC_MSG_ERROR(sndfile library is required)) AC_SUBST(SNDFILE_CFLAGS) AC_SUBST(SNDFILE_LIBS) fi -AM_CONDITIONAL(SBCTESTER, test "${enable_sbctester}" != "no") +AM_CONDITIONAL(TESTER, test "${enable_tester}" != "no") AC_OUTPUT(Makefile) -- cgit v1.2.3