summaryrefslogtreecommitdiff
blob: 0539fa9b9a8e65ed8c776e74d310e453392886c8 (plain)
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
diff -Naur fex-0.8.18-orig/configure.ac fex-0.8.18/configure.ac
--- fex-0.8.18-orig/configure.ac	2005-06-07 12:31:43.000000000 -0600
+++ fex-0.8.18/configure.ac	2007-12-28 21:49:27.000000000 -0600
@@ -21,9 +21,9 @@
 	[AS_HELP_STRING([--enable-debug], [build a debug version])])
 
 if test "$enable_debug" = "yes"; then
-    CXXFLAGS="${CXXFLAGS} -O0 -g3";
+    CXXFLAGS="${CXXFLAGS}";
 else
-    CXXFLAGS="-O2 -DNDEBUG ${CXXFLAGS}";
+    CXXFLAGS="-DNDEBUG ${CXXFLAGS}";
 fi
 
 AC_ARG_ENABLE([slink],
@@ -68,6 +68,8 @@
 AC_CHECK_HEADERS([ext/malloc_allocator.h])
 AC_CHECK_HEADERS([linux/inotify.h])
 
+FEX_LINK="${FEX_LINK} -lpthread"
+
 AC_CHECK_LIB([rsync],
   [rs_delta_file],
   [],
@@ -89,7 +91,8 @@
 AC_CHECK_LIB([log4cpp],
   [main],
   [],
-  [AC_MSG_ERROR([liblog4cpp must be installed])]) 
+  [AC_MSG_ERROR([liblog4cpp must be installed])],
+  [-lpthread]) 
 
 AC_HEADER_STDC
 AC_HEADER_DIRENT