--- configure	Wed Apr 18 13:20:42 2001
+++ configure	Wed Apr 18 13:20:56 2001
@@ -1038,7 +1038,7 @@
 
 fi
 
-for ac_hdr in unistd.h elf.h sys/elf.h
+for ac_hdr in unistd.h sys/elf.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -2692,7 +2692,7 @@
 fi
 
     case "$host" in
-      *-linux*)
+      *-linux*|*-freebsd*)
 	if test "$GCC" = yes; then
 	  
   
