-dnl MISSING CHECKS:
-dnl perl-libwww-perl, perl-URI, MIME-Base64, perl-HTML-Parser, perl-XML-Parser
+if test $USE_DEFAULTS = auto; then
+ AC_CHECK_PROG(HAVE_HELM_CONFIG, helm-config, yes, no)
+ if test $HAVE_HELM_CONFIG = yes; then
+ HELM_LIB_DIR=`helm-config --lib-dir`
+ else
+ USE_DEFAULTS=no
+ fi
+fi
+
+if test $USE_DEFAULTS = no; then
+ echo
+ echo "\`helm-config' is not installed (or I can't find it in your path)."
+ echo "Please, insert the lib directory HELM..."
+ echo
+ echo -n "[[$DEFAULT_HELM_LIB_DIR]] ? "
+ read HELM_LIB_DIR
+ if test "x$HELM_LIB_DIR" = "x"; then
+ HELM_LIB_DIR=$DEFAULT_HELM_LIB_DIR
+ fi
+elif test $USE_DEFAULTS = yes; then
+ HELM_LIB_DIR=$DEFAULT_HELM_LIB_DIR
+fi