$NetBSD: patch-aa,v 1.16 2006/10/12 10:47:18 markd Exp $

utmpx patch gets ktalkd to build on Solaris 10 but wont actually
read the file properly - needs to be fixed.

--- configure.orig	2006-10-03 07:24:51.000000000 +1300
+++ configure
@@ -43422,7 +43422,11 @@ cat >>conftest.$ac_ext <<_ACEOF
 #endif
 #include <unistd.h>
 #include <arpa/inet.h>
+#ifdef __DragonFly__
+#include <net/ppp_layer/ppp_defs.h>
+#else
 #include <net/ppp_defs.h>
+#endif
 #include <netinet/in.h>
 
 #ifdef __svr4__
@@ -43438,6 +43442,8 @@ cat >>conftest.$ac_ext <<_ACEOF
 
     #if defined(linux)
       #include <linux/if_ppp.h>
+    #elif defined(__DragonFly__)
+      #include <net/ppp/if_ppp.h>
     #else
       #include <net/if_ppp.h>                /* BSD, NeXT, etc. */
     #endif
@@ -44334,6 +44340,7 @@ else
 	/var/run/utmp \
 	/var/adm/utmp \
 	/etc/utmp     \
+	/var/adm/utmpx \
      ; \
     do
      if test -r "$ac_file"; then
