],[
CPPFLAGS="$OLDCPPFLAGS"
LDFLAGS="$OLDLDFLAGS"
- ]))
+ AC_MSG_ERROR(Unable to find TokyoCabinet)
+ ]), AC_MSG_ERROR(Unable to find TokyoCabinet))
fi
dnl -- Kyoto Cabinet --
],[
CPPFLAGS="$OLDCPPFLAGS"
LDFLAGS="$OLDLDFLAGS"
- ]))
+ AC_MSG_ERROR(Unable to find KyotoCabinet)
+ ]), AC_MSG_ERROR(Unable to find KyotoCabinet))
fi
dnl -- GDBM --
],[
CPPFLAGS="$OLDCPPFLAGS"
LDFLAGS="$OLDLDFLAGS"
- ]))
+ AC_MSG_ERROR(Unable to find GDBM)
+ ]), AC_MSG_ERROR(Unable to find GDBM))
fi
dnl -- QDBM --
],[
CPPFLAGS="$OLDCPPFLAGS"
LDFLAGS="$OLDLDFLAGS"
- ]))
+ AC_MSG_ERROR(Unable to find QDBM)
+ ]), AC_MSG_ERROR(Unable to find QDBM))
fi
dnl -- BDB --
done
test "$BDB_FOUND" = "yes" && break
done
+ if test "$BDB_FOUND" != "yes"; then
+ AC_MSG_ERROR(Unable to find BDB)
+ fi
fi
dnl -- LMDB --
],[
CPPFLAGS="$OLDCPPFLAGS"
LDFLAGS="$OLDLDFLAGS"
- ]))
+ AC_MSG_ERROR(Unable to find LMDB)
+ ]), AC_MSG_ERROR(Unable to find LMDB))
fi
AM_CONDITIONAL(BUILD_HCACHE, test -n "$hcache_db_used")