$NetBSD: patch-configure,v 1.5 2019/08/17 19:26:19 gutteridge Exp $

Add NetBSD backend detection.

--- configure.orig	2019-08-11 20:13:50.000000000 +0000
+++ configure
@@ -17802,6 +17802,8 @@ if test x$with_backend = x; then
     with_backend=freebsd ;; #(
   *-*dragonfly*) :
     with_backend=freebsd ;; #(
+  *-*netbsd*) :
+    with_backend=netbsd ;; #(
   *-openbsd*) :
     with_backend=openbsd ;; #(
   *) :
@@ -17831,6 +17833,11 @@ if test x$with_backend = xopenbsd; then
 $as_echo "#define BACKEND_TYPE_OPENBSD 1" >>confdefs.h
 
 fi
+if test x$with_backend = xnetbsd; then
+
+$as_echo "#define BACKEND_TYPE_NETBSD 1" >>confdefs.h
+
+fi
 
 ac_config_files="$ac_config_files Makefile doc/Makefile icons/Makefile icons/48x48-actions/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile libxfsm/Makefile po/Makefile.in settings/Makefile scripts/Makefile scripts/xinitrc.in xfce4-session/Makefile xfce4-session-logout/Makefile xfsm-shutdown-helper/Makefile"
 
