Browse Source

add --disable test option

pull/1/head
Jehan Monnier 14 years ago
parent
commit
5033673ef8
2 changed files with 6 additions and 1 deletions
  1. +2
    -1
      Makefile.am
  2. +4
    -0
      configure.ac

+ 2
- 1
Makefile.am View File

@ -4,8 +4,9 @@ if BUILD_MSBCG729
SUBDIRS += msbcg729 SUBDIRS += msbcg729
endif endif
if RUN_TESTS
SUBDIRS += test SUBDIRS += test
endif
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbcg729.pc pkgconfig_DATA = libbcg729.pc


+ 4
- 0
configure.ac View File

@ -18,6 +18,10 @@ AC_ARG_ENABLE(strict,
[wall_werror=$enableval], [wall_werror=$enableval],
[wall_werror=yes] [wall_werror=yes]
) )
# configure option to disable the tests
AC_ARG_ENABLE([tests],
AS_HELP_STRING([--disable-tests], [Disable the tests]))
AM_CONDITIONAL([RUN_TESTS], [test "x$enable_tests" != "xno"])
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"


Loading…
Cancel
Save