From 9830b92f5a5e821aa80d350faa5bf7e54be060f4 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Wed, 31 Aug 2022 14:26:15 -0600 Subject: [PATCH] configure: remove AM_COND for --disable-tests With the usage of DIST_SUBDIRS, the makefiles for the tests/* will be generated, and building the tests/* should be controlled using SUBDIRS. Remove the AM_COND condition for --disable-tests in the AC_CONFIG_FILES list. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index b68c655e..c0a7fe3c 100644 --- a/configure.ac +++ b/configure.ac @@ -218,6 +218,9 @@ AC_CONFIG_FILES([Makefile scripts/Makefile scripts/init.d/cgconfig scripts/init.d/cgred + tests/Makefile + tests/ftests/Makefile + tests/gunit/Makefile samples/Makefile samples/c/Makefile samples/config/Makefile @@ -227,10 +230,6 @@ AC_CONFIG_FILES([Makefile doc/man/Makefile dist/Makefile libcgroup.pc]) -AM_COND_IF([WITH_TESTS], - [AC_CONFIG_FILES([tests/Makefile - tests/ftests/Makefile - tests/gunit/Makefile])]) AC_CONFIG_FILES([dist/libcgroup.spec:dist/libcgroup.spec.in]) CFLAGS="$CFLAGS -Wall" AC_OUTPUT -- 2.47.2