Hi, I am maintaining an external "self-contained extension", the php/java bridge (php-java-bridge.sf.net).
Since this extension is compiled outside of the main PHP compilation process I need a way to access the complete CFLAGS with which the PHP binary was compiled. Does PHP store the original CFLAGS somewhere? Alternatively I need a way to check if the PHP binary was compiled with the -m64 flag. Does anyone already have an autoconf macro for this? Currently I ask the user to compile the extension as a 32 bit extension first, if that fails because of a "wrong ELF class: ELFCLASS32" he must compile the extension again, this time with the -m64 flag. This is a little bit inconvenient. Jost ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de