r15923 - gnucash/trunk/packaging/win32 - Install.sh: Test for g++.

Andreas Köhler andi5 at cvs.gnucash.org
Wed Apr 18 15:17:15 EDT 2007


Author: andi5
Date: 2007-04-18 15:17:11 -0400 (Wed, 18 Apr 2007)
New Revision: 15923
Trac: http://svn.gnucash.org/trac/changeset/15923

Modified:
   gnucash/trunk/packaging/win32/install.sh
Log:
Install.sh: Test for g++.


Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2007-04-18 05:11:56 UTC (rev 15922)
+++ gnucash/trunk/packaging/win32/install.sh	2007-04-18 19:17:11 UTC (rev 15923)
@@ -110,7 +110,7 @@
 
 function inst_mingw() {
     setup MinGW
-    if quiet ${CC} --version
+    if quiet ${CC} --version && quiet g++ --version && quiet ${LD} --help
     then
         echo "mingw already installed.  skipping."
     else
@@ -121,7 +121,7 @@
         $LAST_FILE
         (echo "y"; echo "y"; echo "$_MINGW_WFSDIR") | sh pi.sh
     fi
-    quiet ${CC} --version && quiet ${LD} --help || die "mingw not installed correctly"
+    quiet ${CC} --version && quiet g++ --version && quiet ${LD} --help || die "mingw not installed correctly"
 }
 
 function inst_unzip() {



More information about the gnucash-changes mailing list