Index: configure
--- configure.orig	2011-08-23 10:22:29.000000000 +0200
+++ configure	2011-08-28 08:04:14.000000000 +0200
@@ -10712,7 +10712,11 @@
 
 if test $vortex_p_t_r = yes; then
 
-      vortex_cv_pthreads_cflags="$flag"
+      if test ".$flag" != ".none"; then
+          vortex_cv_pthreads_cflags="$flag"
+      else 
+          vortex_cv_pthreads_cflags=""
+      fi
       break
 
 fi
Index: data/Makefile.in
--- data/Makefile.in.orig	2011-08-23 10:22:27.000000000 +0200
+++ data/Makefile.in	2011-08-28 08:04:33.000000000 +0200
@@ -215,7 +215,7 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-dtddir = $(datadir)/libvortex-1.1
+dtddir = $(datadir)/vortex
 dtd_DATA = channel.dtd sasl.dtd tls.dtd xml-rpc-boot.dtd vortex-listener-conf.dtd
 EXTRA_DIST = $(dtd_DATA)
 all: all-am
Index: test/Makefile.in
--- test/Makefile.in.orig	2011-08-23 10:22:28.000000000 +0200
+++ test/Makefile.in	2011-08-28 08:04:14.000000000 +0200
@@ -498,7 +498,7 @@
 @ENABLE_TLS_SUPPORT_TRUE@INCLUDE_TLS_SUPPORT = -DENABLE_TLS_SUPPORT -I$(top_srcdir)/tls
 @ENABLE_TLS_SUPPORT_TRUE@TLS_SUPPORT_LIBS = $(top_builddir)/tls/libvortex-tls-1.1.la 
 @ENABLE_TLS_SUPPORT_TRUE@TLS_TESTS = vortex-tls-listener
-certfilesdir = $(datadir)/libvortex-1.1
+certfilesdir = $(datadir)/vortex
 certfiles_DATA = test-certificate.pem test-private-key.pem
 EXTRA_DIST = Makefile.win $(certfiles_DATA) vortex-regression-client.vcproj  vortex-regression-listener.vcproj vortex-regression-client.idl \
 	mime.example.1.txt  mime.example.body.1.txt  mime.example.2.txt  mime.example.3.txt  mime.example.body.2.txt 
Index: xml-rpc-gen/Makefile.in
--- xml-rpc-gen/Makefile.in.orig	2011-08-23 10:22:28.000000000 +0200
+++ xml-rpc-gen/Makefile.in	2011-08-28 08:04:46.000000000 +0200
@@ -239,7 +239,7 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-dtddir = $(datadir)/libvortex-1.1
+dtddir = $(datadir)/vortex
 dtd_DATA = xml-rpc.dtd
 idl_files = reg-test08.idl reg-test02.idl reg-test06.idl reg-test07.idl \
 	reg-test01.idl reg-test05.idl reg-test04.idl reg-test03.idl 
