blob: f1a19a1bac286e5e1f1a514038348416e3d1eaef (
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
|
--- configure.orig Sun Jan 8 05:19:01 2006
+++ configure Sat Feb 4 14:06:18 2006
@@ -192,6 +192,8 @@
shift
;;
--help) show_usage; exit ;;
+ --with-*)
+ shift ;;
*) show_usage; exit ;;
esac
done
@@ -1055,9 +1057,13 @@
"}\n";
QString extra;
+ QString pthread_cflags = getenv("PTHREAD_CFLAGS");
+ QString pthread_ldflags = getenv("PTHREAD_LDFLAGS");
if(!path.isEmpty())
extra += QString("-L") + path + ' ';
extra += QString("-l") + name;
+ extra += ' ' + pthread_cflags + ' ' + pthread_ldflags + ' ';
+
if(!doCompileAndLink(str, extra))
return false;
return true;
@@ -1287,14 +1293,6 @@
echo
exit 1;
fi
-cat >Makefile.tmp <<EOT
-export QTDIR = $QTDIR
-export PATH = $QTDIR/bin:$PATH
-EOT
-cat Makefile >> Makefile.tmp
-rm -f Makefile
-cp -f Makefile.tmp Makefile
-rm -f Makefile.tmp
echo
echo "Good, your configure finished. Now run 'make'."
|