diff --git a/configure b/configure index 2599fbbc..372bada7 100755 --- a/configure +++ b/configure @@ -435,18 +435,18 @@ if [[ ${ZLIB} = $(not_found) ]] ; then fail fi -BWRAP=$(find_exe bwrap) -if [[ ${BWRAP} = $(not_found) ]] ; then - error "Bubblewrap (bwrap) is not installed." - fail -fi - LIBCAP=$(find_lib -lcap) if [[ ${LIBCAP} = $(not_found) ]] ; then error "Libcap (libcap) is not installed." fail fi +BWRAP=$(find_exe bwrap) +if [[ ${BWRAP} = $(not_found) ]] ; then + error "Bubblewrap (bwrap) is not installed." + fail +fi + OPAM=$(find_exe opam) if [[ ${OPAM} = $(not_found) ]] ; then error "OPAM (ocaml) package manager is not installed."