I tried to build php4.3.3 with the following config:
$ ../configure --prefix=/opt --srcdir=.. --host=x86-pc-nto-qnx --without-pear --with-zlib=/opt --with-iconv=/opt --enable-sockets --with-apsx --with-ftp --without-mysql --with-dom=/opt
When configure test if it has to build shared libs. The relevant checks are:
configure:106911: checking whether the gcc linker (/usr/bin/ntox86-ld) supports shared libraries
configure:107705: result: yes
configure:107776: checking how to hardcode library paths into programs
configure:107801: result: immediate
configure:107815: checking whether stripping libraries is possible
configure:107820: result: yes
configure:107842: checking dynamic linker characteristics
configure:108353: result: nto-qnx ld.so
configure:109079: checking if libtool supports shared libraries
configure:109081: result: yes
configure:109084: checking whether to build shared libraries
configure:109133: result: no
configure:109136: checking whether to build static libraries
configure:109140: result: yes
I tried to understand what happens and I only found a test about $PHP_MODULES which is empty and cause enable_shared to be set to 0!!
Could you enlight me ?!?
Alain.