#### Taken from the autoconf scripts Makefile.am ####
edit = sed
- -e 's|@LIBS[@]|$(LIBS)|g'
+ -e 's|@LIBCURL[@]|$(LIBCURL)|g'
-e 's|@configure_input[@]|Generated from $@.in; do not edit by hand.|g'
diff --git a/test/pacman/tests/sync200.py.in b/test/pacman/tests/sync200.py.in
index c83e9ac..6e47112 100644
--- a/test/pacman/tests/sync200.py.in
+++ b/test/pacman/tests/sync200.py.in
@@ -1,6 +1,6 @@
self.description = "Synchronize the local database"
-if not "fetch" in "@LIBS@":
+if len("@LIBCURL@") == 0:
self.option['XferCommand'] = ['/usr/bin/curl %u > %o']