add some missing exits on configure failure.
authorNathan Scott <nathans@sgi.com>
Tue, 16 Jan 2001 09:02:27 +0000 (09:02 +0000)
committerNathan Scott <nathans@sgi.com>
Tue, 16 Jan 2001 09:02:27 +0000 (09:02 +0000)
configure.in

index 1f363b49169b3af4394fdf6df8c75ed250aca628..77af3768f54ebce773688a0f825353a0978edc23 100644 (file)
@@ -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)