diff --git a/aclocal.m4 b/aclocal.m4
index 7ab3588b..00d434ee 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -148,7 +148,7 @@ $$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
-_PKG_TEXT])dnl
+_PKG_TEXT])[]dnl
])
elif test $pkg_failed = untried; then
AC_MSG_RESULT([no])
@@ -159,7 +159,7 @@ path to pkg-config.
_PKG_TEXT
-To get pkg-config, see .])dnl
+To get pkg-config, see .])[]dnl
])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
diff --git a/configure b/configure
index 918648f3..6d3e5a9e 100755
--- a/configure
+++ b/configure
@@ -3219,7 +3219,7 @@ fi
appendLib "$SAVED_LIBS"
if test $FOUND_DL = "no" ; then
- as_fn_error $? "Could not find dlopen. Try --disable-modules" "$LINENO" 5
+ as_fn_error $? "Could not find dlopen. ZNC will not work on this box until you upgrade this ancient system or at least install needed system libraries." "$LINENO" 5
fi
# ----- Check for c-ares
diff --git a/configure.in b/configure.in
index 6cd7eeb7..42527d24 100644
--- a/configure.in
+++ b/configure.in
@@ -167,7 +167,7 @@ AC_CHECK_LIB( dl, dlopen, FOUND_DL=yes ; appendLib -ldl,)
appendLib "$SAVED_LIBS"
if test $FOUND_DL = "no" ; then
- AC_MSG_ERROR([Could not find dlopen. Try --disable-modules])
+ AC_MSG_ERROR([Could not find dlopen. ZNC will not work on this box until you upgrade this ancient system or at least install needed system libraries.])
fi
# ----- Check for c-ares