about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index e74aeacf..b1498e8e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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++
 
diff --git a/configure.ac b/configure.ac
index 040e3f09..c211d106 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
5d571f1f02ed6e769d6b4ee821'>a48b9fce ^
f17afcf5 ^


167553ae ^
7f98e013 ^
f17afcf5 ^

a522d022 ^
f17afcf5 ^


167553ae ^
7f98e013 ^
f17afcf5 ^

a522d022 ^
f17afcf5 ^




a48b9fce ^
f17afcf5 ^

7f98e013 ^

f17afcf5 ^



7f98e013 ^
f17afcf5 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57