[build] Add NETBSD leveldb target to configure.ac

This commit is contained in:
fanquake 2018-01-30 07:48:30 +08:00
parent 1944fa3205
commit 11c5827ca7
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -449,6 +449,9 @@ case $host in
*openbsd*) *openbsd*)
LEVELDB_TARGET_FLAGS="-DOS_OPENBSD" LEVELDB_TARGET_FLAGS="-DOS_OPENBSD"
;; ;;
*netbsd*)
LEVELDB_TARGET_FLAGS="-DOS_NETBSD"
;;
*) *)
OTHER_OS=`echo ${host_os} | awk '{print toupper($0)}'` OTHER_OS=`echo ${host_os} | awk '{print toupper($0)}'`
AC_MSG_WARN([Guessing LevelDB OS as OS_${OTHER_OS}, please check whether this is correct, if not add an entry to configure.ac.]) AC_MSG_WARN([Guessing LevelDB OS as OS_${OTHER_OS}, please check whether this is correct, if not add an entry to configure.ac.])