From 90449ffe1f49b3f27d4a89705abc0c1fba7045d4 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 2 Aug 2001 01:44:45 +0000 Subject: [PATCH] additional diagnostic messages when we can't find headers/libs we need. --- configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 16e49d78..c67205b1 100644 --- a/configure.in +++ b/configure.in @@ -122,24 +122,28 @@ AC_CHECK_HEADER(xfs/libxfs.h,, [ echo echo 'FATAL ERROR: could not find a valid XFS library header.' echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the xfsprogs source.' exit 1 ]) AC_CHECK_LIB(xfs, libxfs_init,, [ echo echo 'FATAL ERROR: could not find a valid XFS base library.' echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the xfsprogs source.' exit 1 ]) AC_CHECK_HEADER(xfs/handle.h,, [ echo echo 'FATAL ERROR: could not find a valid XFS handle header.' echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the xfsprogs source.' exit 1 ]) AC_CHECK_LIB(handle, path_to_handle,, [ echo echo 'FATAL ERROR: could not find a valid XFS handle library.' echo 'Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the xfsprogs source.' exit 1 ]) libxfs="-lxfs" @@ -152,12 +156,14 @@ AC_CHECK_HEADER(attr/attributes.h,, [ echo echo 'FATAL ERROR: could not find a valid Extended Attributes header.' echo 'Install either the attr-devel (rpm) or the attr-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the attr source.' exit 1 ]) AC_CHECK_LIB(attr, attr_get,, [ echo echo 'FATAL ERROR: could not find a valid Extended Attributes library.' echo 'Install either the attr-devel (rpm) or the attr-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the attr source.' exit 1 ]) libattr="-lattr" @@ -168,12 +174,14 @@ AC_CHECK_HEADER(sys/acl.h,, [ echo echo 'FATAL ERROR: could not find a valid Access Control List header.' echo 'Install either the acl-devel (rpm) or the acl-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the acl source.' exit 1 ]) -AC_CHECK_LIB(acl, acl_get,, [ +AC_CHECK_LIB(acl, acl_init,, [ echo echo 'FATAL ERROR: could not find a valid Access Control List library.' echo 'Install either the acl-devel (rpm) or the acl-dev (deb) package.' + echo 'Alternatively, run "make install-dev" from the acl source.' exit 1 ]) libacl="-lacl" -- 2.47.3