--- configure.orig Mon Jan 23 11:31:20 2006 +++ configure Sat Dec 16 11:56:59 2006 @@ -3647,7 +3647,7 @@ echo "$as_me:$LINENO: checking \"for supported operating system\"" >&5 echo $ECHO_N "checking \"for supported operating system\"... $ECHO_C" >&6 case "$target_os" in -solaris2.5*|solaris2.6|solaris2.7|solaris2.8|hpux11*|linux-gnu) +solaris2.5*|solaris2.6|solaris2.7|solaris2.8|hpux11*|linux-gnu|freebsd*) echo "$as_me:$LINENO: result: $target_os is supported" >&5 echo "${ECHO_T}$target_os is supported" >&6;; *) @@ -5604,10 +5604,6 @@ #define _USE_PADDING_ON_STRUCTS _ACEOF - cat >>confdefs.h <<\_ACEOF -#define _USE_HASH_MAP -_ACEOF - fi @@ -5639,7 +5635,7 @@ using namespace std; #include <string> #include <stdio.h> -#include <strstream.h> +#include <sstream> int main() { #define STRING_SIZE 100 @@ -5651,7 +5647,7 @@ exit(1); } - ostrstream outString(buf, STRING_SIZE); + ostringstream outString; outString << "hello world " << i; if (strcmp(buf,"hello world 1") != 0) { @@ -5870,6 +5866,8 @@ *linux*) if test "$rh_gxx_prog" = "no"; then EXTRA_GNU_DIR="/gnu"; fi SYSC_TARGET="linux";; + *freebsd*) + SYSC_TARGET="freebsd";; *cygwin*) SYSC_TARGET="cygwin";; *hpux11*)