summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-08-07 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-08-07 08:00:00 +0000
commit0ca78051452625ec7c30f51f9408ea4c40de713e (patch)
tree7cd42869faceed5fdf491a335ae386c584ec15fe /m4
parent91791489f5fd71a0e3c16d7b3a3570488f9d4969 (diff)
downloadlinux-pam-git-0ca78051452625ec7c30f51f9408ea4c40de713e.tar.gz
m4: make libprelude-config diagnostics less noisy
Before this change, every normal build of Linux-PAM used to contain the following diagnostics: checking for libprelude-config... no checking for libprelude - version >= 0.9.0... no *** The libprelude-config script installed by LIBPRELUDE could not be found *** If LIBPRELUDE was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the LIBPRELUDE_CONFIG environment variable to the *** full path to libprelude-config. Given that libprelude-config is rarely used nowadays, the first two lines of diagnostics should be enough. * m4/libprelude.m4 (AM_PATH_LIBPRELUDE): When libprelude-config is not found, do not print the lengthy diagnostics unless --with-libprelude-prefix was specified.
Diffstat (limited to 'm4')
-rw-r--r--m4/libprelude.m410
1 files changed, 6 insertions, 4 deletions
diff --git a/m4/libprelude.m4 b/m4/libprelude.m4
index e1d7a2ba..d6a1efd9 100644
--- a/m4/libprelude.m4
+++ b/m4/libprelude.m4
@@ -123,10 +123,12 @@ main ()
AC_MSG_RESULT(no)
fi
if test "$LIBPRELUDE_CONFIG" = "no" ; then
- echo "*** The libprelude-config script installed by LIBPRELUDE could not be found"
- echo "*** If LIBPRELUDE was installed in PREFIX, make sure PREFIX/bin is in"
- echo "*** your path, or set the LIBPRELUDE_CONFIG environment variable to the"
- echo "*** full path to libprelude-config."
+ if test x$libprelude_config_prefix != x ; then
+ echo "*** The libprelude-config script installed by LIBPRELUDE could not be found"
+ echo "*** If LIBPRELUDE was installed in PREFIX, make sure PREFIX/bin is in"
+ echo "*** your path, or set the LIBPRELUDE_CONFIG environment variable to the"
+ echo "*** full path to libprelude-config."
+ fi
else
if test -f conf.libpreludetest ; then
: