Use a command that uses $CC $CFLAGS, not $CPP, to test whether inline is
[gnulib.git] / modules / gc-tests
index a50a73a..2b216bf 100644 (file)
@@ -7,8 +7,7 @@ configure.ac:
 
 Makefile.am:
 TESTS += test-gc$(EXEEXT)
-noinst_PROGRAMS += test-gc
-test_gc_SOURCES = test-gc.c
+check_PROGRAMS += test-gc
 
 License:
 LGPL