+AC_CHECK_HEADER([curl/curl.h], [], [echo "The cURL library headers must be installed on your system.
+Please check that the library headers are installed properly
+before running configure again."
+ exit -1
+ ])
+
+AC_CHECK_PROG([FOUND_CURLCONFIG], [curl-config], [yes], [no])
+AM_CONDITIONAL([FOUND_CURLCONFIG_RES], [test x$FOUND_CURLCONFIG = xyes])
+
+AM_COND_IF([FOUND_CURLCONFIG_RES], [], [echo "Cannot find the curl-config program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+ ])
+
+# file application
+
+AC_CHECK_PROG([FOUND_FILE], [file], [yes], [no])
+AM_CONDITIONAL([FOUND_FILE_RES], [test x$FOUND_FILE = xyes])
+
+AM_COND_IF([FOUND_FILE_RES], [], [echo "Cannot find the file program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+ ])
+
+# uuidgen application
+
+AC_CHECK_PROG([FOUND_UUIDGEN], [uuidgen], [yes], [no])
+AM_CONDITIONAL([FOUND_UUIDGEN_RES], [test x$FOUND_UUIDGEN = xyes])
+
+AM_COND_IF([FOUND_UUIDGEN_RES], [], [echo "Cannot find the uuidgen program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+ ])