summaryrefslogtreecommitdiff
path: root/m4/gmp.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/gmp.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/gmp.m4')
-rw-r--r--m4/gmp.m44
1 files changed, 3 insertions, 1 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
])