summaryrefslogtreecommitdiff
blob: 50b18fab6fc469f9ddd2b2d67197eb3993a23b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,10 @@
 
 dnl Checks for programs.
 AC_PROG_CC
+AX_PTHREAD
+LIBS="$PTHREAD_LIBS $LIBS"
+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+CC="$PTHREAD_CC"
 
 AM_INIT_AUTOMAKE([foreign no-dependencies subdir-objects])