--- configure.orig	Wed Jan 10 17:34:44 2001
+++ configure	Wed Jan 10 17:35:26 2001
@@ -632,6 +632,12 @@
   program_prefix=${target_alias}-
 
 case "$host" in
+	*-freebsd*)
+		cat >> confdefs.h <<\EOF
+#define LINUX_GLIBC 1
+EOF
+		LDSHARED=-shared
+	;;
 	*-linux*)
 		cat >> confdefs.h <<\EOF
 #define LINUX_GLIBC 1
