File flickcurl-curl.patch of Package flickcurl

--- configure.ac.orig
+++ configure.ac
@@ -73,6 +73,9 @@ AC_SUBST(LIBFLICKCURL_LIBTOOL_VERSION)
 
 
 # Checks for programs.
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AM_PROG_CC_C_O
 
 m4_undefine([AC_PROG_CXX])
@@ -201,7 +204,7 @@ fi
 
 AC_MSG_CHECKING(for libcurl)
 if $PKG_CONFIG libcurl --exists; then
-:
+AC_CHECK_HEADERS([curl/types.h])
 else
   AC_MSG_RESULT(no - not found)
   AC_MSG_ERROR(Please install version $LIBCURL_MIN_VERSION or newer)
--- src/flickcurl_internal.h.orig
+++ src/flickcurl_internal.h
@@ -24,7 +24,9 @@
 #include <libxml/xpath.h>
 
 #include <curl/curl.h>
+#ifdef HAVE_CURL_TYPES_H
 #include <curl/types.h>
+#endif
 #include <curl/easy.h>
 
 
openSUSE Build Service is sponsored by