1
0
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:
James Booth 2012-07-08 23:40:15 +01:00
parent 03dd5f5885
commit c588a11883
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,5 @@ check_PROGRAMS = tests/testsuite
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_prof_autocomplete.c src/prof_autocomplete.c src/common.c tests/testsuite.c
tests_testsuite_CFLAGS = -I ~/include
tests_testsuite_LDADD = -L ~/lib -lheadunit -lstdc++
tests_testsuite_LDADD = -lheadunit -lstdc++

View File

@ -28,6 +28,8 @@ AC_CHECK_LIB([glib-2.0], [main], [],
[AC_MSG_ERROR([glib-2.0 is required for profanity])])
AC_CHECK_LIB([notify], [main], [],
[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.
AC_CHECK_HEADERS([stdlib.h string.h])