From 3c1b5d8f702344c1fea8c56fe56ce8a554c89fef Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Tue, 26 Oct 2010 16:20:57 +0000 Subject: [PATCH] Fix bug in UI that was introduced in r1794. ZNC shouldn't tell people to use unexistant options to ./configure git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2166 726aef4b-f618-498e-8847-2d620e286838 --- aclocal.m4 | 4 ++-- configure | 2 +- configure.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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