Le 22/05/2013 23:58, Benoît Minisini a écrit : > Le 22/05/2013 22:27, Tobias Boege a écrit : >> >> the funny thing was that it needed three commits to fix Emanuele's >> problem >> which is two too much for this kind of error. >> >> Actually, I'm not really concered about localisation (one of the most >> important lines in my .bashrc is LC_ALL=C :-)) and now my ignorance >> bit me. >> >> Basically, I added a simple line to the configure scripts so that the >> interpreter, when compiled from a subversion repository, prints the >> revision >> it was compiled from, like: >> >> $ gbx3 --version >> 3.4.90 #5672 >> >> This number is extracted by a shell script line that makes assumptions on >> the language settings of the system - which is apparently >> non-portable. And >> that's the whole story. >> >> Regards, >> Tobi >> > > Ha ha. I have reworked completely the management of the TRUNK_VERSION > constant, fixing the localization problem and so on, but I forgot to > commit before leaving at noon! > > Now I have to check if what I have done is compatible with your > changes... :-/ >
Sorry, I prefer my way of defining TRUNK_VERSION: you should not modify the compilation flag for defining a constant. You'd rather use the 'config.h' mechanism (AC_DEFINE & AC_DEFINE_UNQUOTED). -- Benoît Minisini ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user