|
From: <cn...@us...> - 2009-07-08 05:25:49
|
Revision: 415
http://hgengine.svn.sourceforge.net/hgengine/?rev=415&view=rev
Author: cnlohr
Date: 2009-07-08 05:25:47 +0000 (Wed, 08 Jul 2009)
Log Message:
-----------
require G++, not gcc for linking, as to catch missing G++ more clearly.
Modified Paths:
--------------
Mercury2/cnconfigure
Modified: Mercury2/cnconfigure
===================================================================
--- Mercury2/cnconfigure 2009-07-06 21:08:22 UTC (rev 414)
+++ Mercury2/cnconfigure 2009-07-08 05:25:47 UTC (rev 415)
@@ -72,9 +72,9 @@
fi
echo "Link line used: g++ $CC_BASE $LD_BASE"
-echo -n "Checking to make sure ldflags and linker are acceptable... "
+echo -n "Checking to make sure ldflags and cflags are acceptable... "
echo -e "int main() { return 0; }" > tmp.c
-if gcc $CC_BASE $LD_BASE -o bar tmp.c 1> foo 2> foo; then
+if g++ $CC_BASE $LD_BASE -o bar tmp.c 1> foo 2> foo; then
rm ./tmp.c
rm ./foo
rm ./bar
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|