Index: configure.in
===================================================================
--- configure.in	(révision 88)
+++ configure.in	(copie de travail)
@@ -67,8 +67,8 @@
 	want_debug=$enableval, want_debug=$default_want_debug)
 
 dnl Add -Wall to the CFLAGS unconditionally
-CFLAGS="$CFLAGS -Wall"
-CXXFLAGS="$CXXFLAGS -Wall"
+CFLAGS="$CFLAGS"
+CXXFLAGS="$CXXFLAGS"
 
 dnl If debugging is enabled, and the user didn't supply CFLAGS or CXXFLAGS,
 dnl remove the autoconf default -O2.  This is kind of a pain in the @$$
Index: hfpd/Makefile.am
===================================================================
--- hfpd/Makefile.am	(révision 88)
+++ hfpd/Makefile.am	(copie de travail)
@@ -1,6 +1,6 @@
 # $Id: $
 
-AM_CXXFLAGS = -Wshadow -fno-exceptions
+AM_CXXFLAGS = -fno-exceptions -fpermissive
 INCLUDES = -I$(top_srcdir)/include -include config.h $(DBUS_CFLAGS)
 
 bin_PROGRAMS = hfpd
@@ -9,11 +9,11 @@
 hfpd_SOURCES = hfpd.cpp dbus.cpp util.cpp configfile.cpp objects.cpp \
 		configfile.h util.h dbus.h dbus-marshall.h proto.h \
 		objects.h
-hfpd_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) $(DBUS_LIBS)
+hfpd_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) -lpthread $(DBUS_LIBS)
 hfpd_DEPENDENCIES = ../libhfp/libhfp.a
 
 hfpdtext_SOURCES = hfpdtext.cpp net.cpp util.cpp configfile.cpp \
 		configfile.h util.h net.h
-hfpdtext_LDADD = -L../libhfp -lhfp $(libhfp_LIBS)
+hfpdtext_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) -lpthread
 hfpdtext_DEPENDENCIES = ../libhfp/libhfp.a
 CLEANFILES = hfpdtext
Index: libhfp/Makefile.am
===================================================================
--- libhfp/Makefile.am	(révision 88)
+++ libhfp/Makefile.am	(copie de travail)
@@ -1,6 +1,6 @@
 # $Id: $
 
-AM_CXXFLAGS = -Wshadow -fno-exceptions
+AM_CXXFLAGS = -fno-exceptions -fpermissive
 INCLUDES = -I$(top_srcdir)/include -include config.h
 
 noinst_LIBRARIES = libhfp.a
Index: test/Makefile.am
===================================================================
--- test/Makefile.am	(révision 88)
+++ test/Makefile.am	(copie de travail)
@@ -1,18 +1,18 @@
 # $Id: $
 
 INCLUDES = -I$(top_srcdir)/include -include config.h $(libnghost_CFLAGS)
-AM_CXXFLAGS = -Wshadow
+AM_CXXFLAGS = -fno-exceptions -fpermissive
 
 noinst_PROGRAMS = soundtest timertest pumpunit
 
 soundtest_SOURCES = soundtest.cpp
-soundtest_LDADD = -L../libhfp -lhfp $(libhfp_LIBS)
+soundtest_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) -lpthread
 soundtest_DEPENDENCIES = ../libhfp/libhfp.a
 
 timertest_SOURCES = timertest.cpp
-timertest_LDADD = -L../libhfp -lhfp $(libhfp_LIBS)
+timertest_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) -lpthread
 timertest_DEPENDENCIES = ../libhfp/libhfp.a
 
 pumpunit_SOURCES = pumpunit.cpp
-pumpunit_LDADD = -L../libhfp -lhfp $(libhfp_LIBS)
+pumpunit_LDADD = -L../libhfp -lhfp $(libhfp_LIBS) -lpthread
 pumpunit_DEPENDENCIES = ../libhfp/libhfp.a
