summaryrefslogtreecommitdiff
path: root/benchmarks/iperf/files/patch-cfg::configure
blob: 92c8a2e87637a68d8d9cb8dfb42e8b8f6e65b8a6 (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
--- cfg/configure.orig	Sat May 19 23:45:26 2001
+++ cfg/configure	Sat May 19 23:54:28 2001
@@ -90,6 +90,12 @@
   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     cache_file="$ac_optarg" ;;
 
+  --cc=*)
+    ac_cv_prog_CC="$ac_optarg" ;;
+
+  --cxx=*)
+    ac_cv_prog_CXX="$ac_optarg" ;;
+
   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     ac_prev=datadir ;;
   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
@@ -952,7 +958,7 @@
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 echo "configure:954: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
-cross_compiling=$ac_cv_prog_cxx_cross
+cross_compiling="no"
 
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
 echo "configure:959: checking whether we are using GNU C++" >&5
@@ -1065,14 +1071,7 @@
 echo
 
 
-if test -z "$ac_cv_use_pthread"; then
-  ac_cv_use_pthread="yes"
-fi
-echo "Make iperf multi-threaded (using pthreads)? [$ac_cv_use_pthread] "
-read tmp
-if test -n "$tmp"; then  
-  ac_cv_use_pthread="$tmp"
-fi
+ac_cv_use_pthread="no"
 
 
 if test "$ac_cv_use_pthread" = yes ; then