--- criticalmass-1.0.0.orig/Makefile.am
+++ criticalmass-1.0.0/Makefile.am
@@ -4,7 +4,7 @@
 AUTOMAKE_OPTIONS = 1.4
 
 ## Any directories that you want built and installed should go here.
-SUBDIRS = curl tinyxml utils utilssdl utilsgl tools data game
+SUBDIRS = tinyxml utils utilssdl utilsgl tools data game
 
 ## Any directories you want a part of the distribution should be listed
 ## here, as well as have a Makefile generated at the end of configure.in
--- criticalmass-1.0.0.orig/configure.in
+++ criticalmass-1.0.0/configure.in
@@ -115,7 +115,9 @@ fi
 AC_CHECK_LIB(m, sin,, 
     AC_MSG_ERROR(libm is needed))
 
-AC_CONFIG_SUBDIRS(curl)
+LIBCURL_CHECK_CONFIG
+LIBS="$LIBS $LIBCURL"
+CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
 
 AC_OUTPUT(Makefile utils/Makefile utilssdl/Makefile utilsgl/Makefile game/Makefile tools/Makefile data/Makefile data/music/Makefile tinyxml/Makefile)
 
--- criticalmass-1.0.0.orig/game/Makefile.am
+++ criticalmass-1.0.0/game/Makefile.am
@@ -41,21 +41,20 @@ critter_SOURCES = \
         main.cpp
 
 LDADD = \
-	../curl/lib/libcurl.a \
 	../utils/libutils.a \
 	../utilssdl/libutilssdl.a \
 	../utilsgl/libutilsgl.a \
 	../tinyxml/libtinyxml.a
 
 if WIN32
-INCLUDES = -I../curl/include -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"./\"
+INCLUDES = -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"./\"
 LDADD += critter.res
 else
 
 if APPLE
-INCLUDES = -I../curl/include -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"/Contents/Resources/\"
+INCLUDES = -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"/Contents/Resources/\"
 else
-INCLUDES = -I../curl/include -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"$(pkgdatadir)/\"
+INCLUDES = -I../tinyxml -I../utils -I../utilssdl -I../utilsgl -DDATA_DIR=\"$(pkgdatadir)/\"
 endif
 
 endif
