blob: 5383e89ce1503c8e0a37254f27abacd3330c316f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--- 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*)
|