aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-01-30 07:48:30 +0800
committerfanquake <fanquake@gmail.com>2018-01-30 07:48:30 +0800
commit11c5827ca7dd1c9cbfd1fcc3215977ad7550cb73 (patch)
treea785b05a47441153affb4a932062cde2aee56f74 /configure.ac
parent1944fa32053f311ca645d9cfdf543ec7000c622c (diff)
downloadbitcoin-11c5827ca7dd1c9cbfd1fcc3215977ad7550cb73.tar.xz
[build] Add NETBSD leveldb target to configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 256aed40b2..8e779f3225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -449,6 +449,9 @@ case $host in
*openbsd*)
LEVELDB_TARGET_FLAGS="-DOS_OPENBSD"
;;
+ *netbsd*)
+ LEVELDB_TARGET_FLAGS="-DOS_NETBSD"
+ ;;
*)
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.])