Blob Blame History Raw
diff -ur pads-1.2.orig/lib/bstring/Makefile.am pads-1.2/lib/bstring/Makefile.am
--- pads-1.2.orig/lib/bstring/Makefile.am	2008-10-26 09:54:10.000000000 -0400
+++ pads-1.2/lib/bstring/Makefile.am	2008-10-28 09:40:50.000000000 -0400
@@ -1,5 +1,6 @@
 # $Id: Makefile.am,v 1.1 2005/02/13 17:54:58 mattshelton Exp $
 AUTOMAKE_OPTIONS=foreign no-dependencies
 noinst_LIBRARIES = libbstring.a
+libbstring_a_CFLAGS = -pthread
 libbstring_a_SOURCES = bstrlib.c bstrlib.h bstraux.c bstraux.h util.c util.h
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
diff -ur pads-1.2.orig/src/Makefile.am pads-1.2/src/Makefile.am
--- pads-1.2.orig/src/Makefile.am	2008-10-26 09:54:10.000000000 -0400
+++ pads-1.2/src/Makefile.am	2008-10-28 09:41:43.000000000 -0400
@@ -1,6 +1,7 @@
 ## $Id: Makefile.am,v 1.3 2005/02/17 16:29:54 mattshelton Exp $
 AUTOMAKE_OPTIONS=foreign no-dependencies
 bin_PROGRAMS = pads
+pads_CFLAGS = -pthread
 pads_SOURCES = pads.c pads.h \
 	       storage.c storage.h \
                identification.c identification.h \
@@ -10,6 +11,7 @@
 	       configuration.c configuration.h \
                util.c util.h \
                global.h
+pads_LDFLAGS = -pthread
 pads_LDADD = $(top_srcdir)/lib/bstring/libbstring.a output/liboutput.a
 bin_SCRIPTS = pads-report
 
diff -ur pads-1.2.orig/src/output/Makefile.am pads-1.2/src/output/Makefile.am
--- pads-1.2.orig/src/output/Makefile.am	2008-10-26 09:54:10.000000000 -0400
+++ pads-1.2/src/output/Makefile.am	2008-10-28 09:40:50.000000000 -0400
@@ -1,6 +1,7 @@
 # $Id: Makefile.am,v 1.1 2005/02/10 06:05:06 mattshelton Exp $
 AUTOMAKE_OPTIONS=foreign no-dependencies
 noinst_LIBRARIES = liboutput.a
+liboutput_a_CFLAGS = -pthread
 liboutput_a_SOURCES = output.c output.h \
 		      output-screen.c output-screen.h \
                       output-csv.c output-csv.h \