additional diagnostic messages when we can't find headers/libs we need.
authorNathan Scott <nathans@sgi.com>
Thu, 2 Aug 2001 01:44:45 +0000 (01:44 +0000)
committerNathan Scott <nathans@sgi.com>
Thu, 2 Aug 2001 01:44:45 +0000 (01:44 +0000)
configure.in

index 16e49d787c7ec23eef0457e146dad27a4b232da7..c67205b173782691dfb3f29a572988d7d6c852e7 100644 (file)
@@ -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"