]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
configure: remove AM_COND for --disable-tests
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 31 Aug 2022 20:26:15 +0000 (14:26 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 31 Aug 2022 20:26:20 +0000 (14:26 -0600)
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 <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
configure.ac

index b68c655e84e2538fb7cedb282197e5f1d6f986ab..c0a7fe3c7995d62276ac3f3391cd3a62af1471f8 100644 (file)
@@ -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