Commit Diff


commit - 3aa316cbcf696304c13f295e70b40c94ac75d17d
commit + 01a22331ae6bf3ba9eb98d12d3542832f084074f
blob - 350531801a49a764893df7a418570aefd3bea41f
blob + 8c53e83e243fe2d62474bd8b6e56ca48c9881897
--- configure.ac
+++ configure.ac
@@ -247,6 +247,10 @@ case "$host_os" in
 		AC_MSG_RESULT(netbsd)
 		PLATFORM=netbsd
 		;;
+	*openbsd*)
+		AC_MSG_RESULT(netbsd)
+		PLATFORM=openbsd
+		;;
 	*dragonfly*)
 		AC_MSG_RESULT(dragonfly)
 		PLATFORM=dragonflybsd
@@ -261,6 +265,7 @@ AM_CONDITIONAL([HOST_FREEBSD], [test "$PLATFORM" = "fr
 AM_CONDITIONAL([HOST_LINUX], [test "$PLATFORM" = "linux"])
 AM_CONDITIONAL([HOST_DARWIN], [test "$PLATFORM" = "darwin"])
 AM_CONDITIONAL([HOST_NETBSD], [test "$PLATFORM" = "netbsd"])
+AM_CONDITIONAL([HOST_OPENBSD], [test "$PLATFORM" = "openbsd"])
 AM_CONDITIONAL([HOST_DRAGONFLYBSD], [test "$PLATFORM" = "dragonflybsd"])
 
 # Look for yacc.