Author: wyoung
Date: Fri Jun 22 23:58:11 2007
New Revision: 1598
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1598&view=rev
Log:
ssqls-pretty now detects when it's being run from within the MySQL++
distribution tree and gives a different -I flag to the compiler, so that
it picks up the distribution headers instead of those that may be on the
system already.
Modified:
trunk/doc/ssqls-pretty
Modified: trunk/doc/ssqls-pretty
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/ssqls-pretty?rev=1598&r1=1597&r2=1598&view=diff
==============================================================================
--- trunk/doc/ssqls-pretty (original)
+++ trunk/doc/ssqls-pretty Fri Jun 22 23:58:11 2007
@@ -8,7 +8,12 @@
$command = "g++ -E";
}
-$command .= " -I /usr/include/mysql++/";
+if (-e 'lib/mysql++.h') {
+ $command .= " -I lib";
+}
+else {
+ $command .= " -I /usr/include/mysql++/";
+}
$/ = undef;
$orgcode = <STDIN>;
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits