From: Nathan Scott Date: Thu, 2 Aug 2001 01:44:45 +0000 (+0000) Subject: additional diagnostic messages when we can't find headers/libs we need. X-Git-Tag: v1.1.0~1222 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=90449ffe1f49b3f27d4a89705abc0c1fba7045d4;p=users%2Fhch%2Fxfstests-dev.git additional diagnostic messages when we can't find headers/libs we need. --- diff --git a/configure.in b/configure.in index 16e49d787..c67205b17 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"