From: Nathan Scott Date: Tue, 16 Jan 2001 09:02:27 +0000 (+0000) Subject: add some missing exits on configure failure. X-Git-Tag: v1.1.0~1335 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3c6a65bfdd088fe0e20fe11dc0f6dbe7ff69626b;p=users%2Fhch%2Fxfstests-dev.git add some missing exits on configure failure. --- diff --git a/configure.in b/configure.in index 1f363b491..77af3768f 100644 --- a/configure.in +++ b/configure.in @@ -128,6 +128,7 @@ 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.' + exit 1 ]) AC_CHECK_HEADER(xfs/handle.h,, [ echo @@ -139,6 +140,7 @@ 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.' + exit 1 ]) libxfs="-lxfs" libhdl="-lhandle" @@ -156,6 +158,7 @@ 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.' + exit 1 ]) libattr="/usr/lib/libattr.a" AC_SUBST(libattr) @@ -171,6 +174,7 @@ AC_CHECK_LIB(acl, acl_get,, [ 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.' + exit 1 ]) libacl="/usr/lib/libacl.a" AC_SUBST(libacl) @@ -180,11 +184,13 @@ AC_CHECK_HEADER(gdbm.h,, [ echo echo 'FATAL ERROR: could not find a valid GNU database manager header.' echo 'Install either the gdbm-devel (rpm) or the libgdbmg1-dev (deb) package.' + exit 1 ]) AC_CHECK_LIB(gdbm, gdbm_open,, [ echo echo 'FATAL ERROR: could not find a valid GNU database manager library.' echo 'Install either the gdbm-devel (rpm) or the libgdbmg1-dev (deb) package.' + exit 1 ]) libgdbm="/usr/lib/libgdbm.a" AC_SUBST(libgdbm)