Hi, On Thu, 10 Feb 2011, Ondřej Surý wrote:
> there is no guarantee at all to keep same ABI between different > distributions. That doesn't only apply to LFS, but also to different > shared libraries used, etc. > > The only safe way is to compile the extension using the development > files provided by the distribution. > > Also the /usr/bin/php5-config script on Debian has an option --phpapi > which prints the version. Also you can provide .deb packages with > correct dependencies. It's just not reasonable to expect that > non-static binary will work across different systems. I know it doesn't; I was asking for making it detectable. Perhaps instead of LFS, you could use DEBIAN as "ZEND_BUILD_EXTRA" instead then? Or perhaps include flags with that, that show all the different Debian flags/options/or perhaps a debian specific version nr as well; such as DEBIAN1, DEBIAN2 etc... cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug

