[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [LVM2 PATCH] cleanup configure output



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alasdair,

Three of the LVM2 configure tests produce duplicated results:

checking for sepol_check_context function... checking for
sepol_check_context in -lsepol... no
no
checking for is_selinux_enabled function... checking for
is_selinux_enabled in -lselinux... yes
yes
checking for clock_gettime function... checking for clock_gettime in
- -lrt... yes
yes

These are AC_CHECK_LIB tests followed by an AC_MSG_RESULT, but
AC_CHECK_LIB already outputs the result by itself.

Attached patch removes the redundant AC_MSG_RESULT macros.

Regards,

Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFpA3v6YSQoMYUY94RAsK8AJ9X4pGXgDBa7IeSrGtqZcMC7/zQ/gCeIunM
mL1qWdsFS2UE+jqhzPODplc=
=jImi
-----END PGP SIGNATURE-----
Index: configure.in
===================================================================
RCS file: /cvs/lvm2/LVM2/configure.in,v
retrieving revision 1.55
diff -u -r1.55 configure.in
--- configure.in	9 Jan 2007 20:31:08 -0000	1.55
+++ configure.in	9 Jan 2007 21:29:31 -0000
@@ -440,7 +440,6 @@
 if test x$SELINUX = xyes; then
 	AC_MSG_CHECKING(for sepol_check_context function)
 	AC_CHECK_LIB(sepol, sepol_check_context, HAVE_SEPOL=yes, HAVE_SEPOL=no)
-	AC_MSG_RESULT($HAVE_SEPOL)
 
 	if test x$HAVE_SEPOL = xyes; then
 		LIBS="-lsepol $LIBS"
@@ -448,7 +447,6 @@
 
 	AC_MSG_CHECKING(for is_selinux_enabled function)
 	AC_CHECK_LIB(selinux, is_selinux_enabled, HAVE_SELINUX=yes, HAVE_SELINUX=no)
-	AC_MSG_RESULT($HAVE_SELINUX)
 
 	if test x$HAVE_SELINUX = xyes; then
 		AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.])
@@ -463,7 +461,6 @@
 if test x$REALTIME = xyes; then
 	AC_MSG_CHECKING(for clock_gettime function)
 	AC_CHECK_LIB(rt, clock_gettime, HAVE_REALTIME=yes, HAVE_REALTIME=no)
-	AC_MSG_RESULT($HAVE_REALTIME)
 
 	if test x$HAVE_REALTIME = xyes; then
 		AC_DEFINE([HAVE_REALTIME], 1, [Define to 1 to include support for realtime clock.])

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]