communication: sync protocol adapater to add psync

refs: #4082

Change-Id: Ibe4649e709dfbc3cdc1f2afbfc4ff03f75a3f136
diff --git a/wscript b/wscript
index 5b9b8f8..82252a6 100644
--- a/wscript
+++ b/wscript
@@ -64,6 +64,9 @@
     conf.check_cfg(package='ChronoSync', args=['--cflags', '--libs'],
                    uselib_store='SYNC', mandatory=True)
 
+    conf.check_cfg(package='PSync', args=['--cflags', '--libs'],
+                   uselib_store='PSYNC', mandatory=True)
+
     conf.check_compiler_flags()
 
     conf.load('coverage')
@@ -96,7 +99,7 @@
         target='nlsr-objects',
         source=bld.path.ant_glob(['src/**/*.cpp'],
                                  excl=['src/main.cpp']),
-        use='NDN_CXX BOOST SYNC',
+        use='NDN_CXX BOOST SYNC PSYNC',
         includes='. src',
         export_includes='. src')