summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-10-19 11:12:40 +0100
committerPádraig Brady <P@draigBrady.com>2009-10-20 17:11:00 +0100
commit71adb516deee94274669f968636194bf261b1207 (patch)
tree18702cda65979814333206cb2804259268874031 /m4
parent6ac6c7e4b77898d6d82d5565b5d8b053ecacbc64 (diff)
downloadcoreutils-71adb516deee94274669f968636194bf261b1207.tar.xz
maint: issue warnings for more missing optional libraries
* README-hacking: Suggest to use ./configure --quiet so that any warnings are easily noticed. * m4/gmp.m4 (cu_GMP): Warn if libgmp is not available. * m4/jm-macros.m4 (coreutils_MACROS): Normalize the libcap warning. * m4/xattr.m4 (gl_FUNC_XATTR): Warn if libattr is not available.
Diffstat (limited to 'm4')
-rw-r--r--m4/gmp.m44
-rw-r--r--m4/jm-macros.m43
-rw-r--r--m4/xattr.m42
3 files changed, 7 insertions, 2 deletions
diff --git a/m4/gmp.m4 b/m4/gmp.m4
index 8e7112052..170c2a14f 100644
--- a/m4/gmp.m4
+++ b/m4/gmp.m4
@@ -30,7 +30,9 @@ AC_DEFUN([cu_GMP],
LIB_GMP=$ac_cv_search___gmpz_init
AC_DEFINE([HAVE_GMP], [1],
[Define if you have GNU libgmp (or replacement)])
- }])
+ }],
+ [AC_MSG_WARN([libgmp development library was not found or not usable.])
+ AC_MSG_WARN([AC_PACKAGE_NAME will be built without GMP support.])])
LIBS=$cu_saved_libs
fi
])
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index f42f67c21..5210499a6 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -116,7 +116,8 @@ AC_DEFUN([coreutils_MACROS],
if test "X$enable_libcap" = "Xyes"; then
AC_MSG_ERROR([libcap library was not found or not usable])
else
- AC_MSG_WARN([libcap library was not found or not usable, support for libcap will not be built])
+ AC_MSG_WARN([libcap library was not found or not usable.])
+ AC_MSG_WARN([AC_PACKAGE_NAME will be built without capability support.])
fi
fi
else
diff --git a/m4/xattr.m4 b/m4/xattr.m4
index d340417c9..bc076b082 100644
--- a/m4/xattr.m4
+++ b/m4/xattr.m4
@@ -22,6 +22,8 @@ AC_DEFUN([gl_FUNC_XATTR],
use_xattr=1
else
use_xattr=0
+ AC_MSG_WARN([libattr development library was not found or not usable.])
+ AC_MSG_WARN([AC_PACKAGE_NAME will be built without xattr support.])
fi
AC_DEFINE_UNQUOTED([USE_XATTR], [$use_xattr],
[Define if you want extended attribute support.])