       CPP="\$(CYGWIN_WRAPPER) $CPP"
 *** misc/mozilla/configure.in	Tue Oct 12 00:13:29 2004
 --- misc/build/mozilla/configure.in	Thu Mar 29 14:27:08 2007
+***************
+*** 1006,1012 ****
+      ;;
+  
+  *-freebsd*)
+!     if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then
+  	DLL_SUFFIX=".so.1.0"
+  	DSO_LDOPTS="-shared"
+      fi
+--- 1006,1012 ----
+      ;;
+  
+  *-freebsd*)
+!     if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then
+  	DLL_SUFFIX=".so.1.0"
+  	DSO_LDOPTS="-shared"
+      fi
 ***************
 *** 1536,1542 ****
          MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -o $@'

  ASM_SUFFIX=s
  MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
  PR_MD_ASFILES=
***************
*** 1144,1149 ****
--- 1145,1151 ----

         AR_EXTRACT="$AR x"
         AR_DELETE="$AR d"
***************
*** 7504,7509 ****
--- 7504,7511 ----
  case $target in
  *-hpux11.*)
  	;;
+ *-freebsd*)
+ 	;;
  *)
  	echo $ac_n "checking for gethostbyname_r in -lc_r""... $ac_c" 1>&6
  echo "configure:7510: checking for gethostbyname_r in -lc_r" >&5
***************
*** 16606,16613 ****
--- 16606,16617 ----
  
