mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added headunit to autotools files
This commit is contained in:
parent
03dd5f5885
commit
c588a11883
@ -16,6 +16,5 @@ check_PROGRAMS = tests/testsuite
|
|||||||
tests_testsuite_SOURCES = tests/test_contact_list.c src/contact_list.c src/contact.c \
|
tests_testsuite_SOURCES = tests/test_contact_list.c src/contact_list.c src/contact.c \
|
||||||
tests/test_util.c tests/test_prof_history.c src/prof_history.c src/util.c \
|
tests/test_util.c tests/test_prof_history.c src/prof_history.c src/util.c \
|
||||||
tests/test_prof_autocomplete.c src/prof_autocomplete.c src/common.c tests/testsuite.c
|
tests/test_prof_autocomplete.c src/prof_autocomplete.c src/common.c tests/testsuite.c
|
||||||
tests_testsuite_CFLAGS = -I ~/include
|
tests_testsuite_LDADD = -lheadunit -lstdc++
|
||||||
tests_testsuite_LDADD = -L ~/lib -lheadunit -lstdc++
|
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ AC_CHECK_LIB([glib-2.0], [main], [],
|
|||||||
[AC_MSG_ERROR([glib-2.0 is required for profanity])])
|
[AC_MSG_ERROR([glib-2.0 is required for profanity])])
|
||||||
AC_CHECK_LIB([notify], [main], [],
|
AC_CHECK_LIB([notify], [main], [],
|
||||||
[AC_MSG_NOTICE([libnotify not found])])
|
[AC_MSG_NOTICE([libnotify not found])])
|
||||||
|
AC_CHECK_LIB([headunit], [main], [],
|
||||||
|
[AC_MSG_NOTICE([headunit not found, will not be able to run tests])])
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_CHECK_HEADERS([stdlib.h string.h])
|
AC_CHECK_HEADERS([stdlib.h string.h])
|
||||||
|
Loading…
Reference in New Issue
Block a user