-$(eval $(call RequireCommand,autoconf, \
- Please install GNU autoconf. \
+$(eval $(call RequireCommand,svn, \
+ Please install the subversion client. \
+))
+
+define Require/libssl
+ echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \
+ gcc -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl
+endef
+
+$(eval $(call Require,libssl, \
+ Please install the openssl library (with development headers) \
+))
+
+$(eval $(call RequireCommand,openssl, \
+ Please install openssl. \
+))
+
+define Require/gnu-find
+ $(FIND) --version 2>/dev/null
+endef
+
+$(eval $(call Require,gnu-find, \
+ Please install GNU find \
+))
+
+define Require/getopt-extended
+ getopt --long - - >/dev/null
+endef
+
+$(eval $(call Require,getopt-extended, \
+ Please install an extended getopt version that supports --long \