How do I check if PHP has been compiled with -m64?

From: Date: Sat, 16 Oct 2004 12:18:41 +0000
Subject: How do I check if PHP has been compiled with -m64?
Groups: php.install 
Request: Send a blank email to php-install+get-14531@lists.php.net to get a copy of this message
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

« previous php.install (#14531) next »