From: Kamalesh Babulal Date: Wed, 31 Aug 2022 20:26:15 +0000 (-0600) Subject: configure: remove AM_COND for --disable-tests X-Git-Tag: v3.1.0~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9830b92f5a5e821aa80d350faa5bf7e54be060f4;p=thirdparty%2Flibcgroup.git 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 --- 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