Fix the glib-2.0 DEPS
There is no product_LIBS is product_LDADD
This commit is contained in:
parent
0a60c39c32
commit
9e4435791e
|
@ -10,7 +10,7 @@ myexecutable_CFLAGS = #--std=c11 # CFLAGS applicable to myexecutable_SOURCES
|
|||
check_PROGRAMS = testsuite # will generate and run testsuite exec
|
||||
|
||||
testsuite_CFLAGS = $(DEPS_CFLAGS) # DEPS_* are filled by PKG_CHECK_MODULES
|
||||
testsuite_LIBS = $(DEPS_LIBS) # in configure.ac
|
||||
testsuite_LDADD = $(DEPS_LIBS) # in configure.ac
|
||||
|
||||
testsuite_SOURCES = tests/test.c
|
||||
TESTS = testsuite
|
||||
|
|
|
@ -31,6 +31,10 @@ AC_PROG_INSTALL
|
|||
# AC_MSG_ERROR([You need to install pthreads library.])
|
||||
# ])
|
||||
|
||||
# AC_SEARCH_LIBS([g_test_init], [glib-2.0],[],[
|
||||
# AC_MSG_ERROR([You need to install glib-2.0 library.])
|
||||
# ])
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADER([stdlib.h])
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
g_test_init(&argc, &argv, NULL);
|
||||
printf("Write some tests!!! Failing!\n");
|
||||
exit(EXIT_FAILURE);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user