Index: /trunk/configure.ac
===================================================================
--- /trunk/configure.ac	(revision 571)
+++ /trunk/configure.ac	(revision 572)
@@ -12,5 +12,5 @@
 dnl start
 dnl
-AM_INIT_AUTOMAKE(samhain, 4.4.6)
+AM_INIT_AUTOMAKE(samhain, 4.4.7)
 AC_DEFINE([SAMHAIN], 1, [Application is samhain])
 AC_CANONICAL_HOST
@@ -39,4 +39,20 @@
 fi
 
+if test "x${gcc_VERSION_MAJOR}" != "x"
+then
+	AC_MSG_CHECKING([for gcc compiler issues])
+	if test ${gcc_VERSION_MAJOR} -ge 11
+	then
+		dnmalloc_ok=no
+		AC_MSG_RESULT([dnmalloc does not work with gcc 11])
+	else
+		dnmalloc_ok=yes
+		AC_MSG_RESULT([ok])
+	fi	
+else
+	dnmalloc_ok=yes
+fi
+
+
 AC_HEADER_STDC
 
@@ -51,5 +67,4 @@
 mynetbsd=no
 sh_use_lcaps="undef"
-dnmalloc_ok=yes
 sh_use_pie=yes
 enable_asm_ok=yes
@@ -386,5 +401,5 @@
 	strptime basename sched_yield hasmntopt \
 	inet_aton gethostbyname setutent setrlimit gethostname uname \
-	initgroups getpagesize \
+	initgroups getpagesize getutxent \
 	ttyname fchmod writev mmap tzset \
 	getsid getpriority getpgid statvfs \
