hi,

I'm a newbie in php4 extension developpement.
I've written a small php4 extension for php 4.0.6.
I've managed to compile it as a php module with ./configure
--enable-itnetwork=shared.

When I try the same thing with php4.1.2 the compilation process don't
give a itnetwork.so file but instead .a and a .la file.

Does anyone know what i'm missing ?


Benoit Canet
ITNetwork
[EMAIL PROTECTED]
www.itnetwork.fr
116 avenue du général Leclerc PARIS
FRANCE


ps :
here is my config.m4 :
dnl $Id$
dnl config.m4 for extension itnetwork
dnl don't forget to call PHP_EXTENSION(itnetwork)

dnl Comments in this file start with the string 'dnl'.
dnl Remove where necessary. This file will not work
dnl without editing.

dnl If your extension references something external, use with:

PHP_ARG_WITH(itnetwork, for itnetwork support,
dnl Make sure that the comment is aligned:
[  --with-itnetwork             Include itnetwork support])

dnl Otherwise use enable:

PHP_ARG_ENABLE(itnetwork, whether to enable itnetwork support,
dnl Make sure that the comment is aligned:
  --enable-itnetwork           Enable itnetwork support])

if test "$PHP_ITNETWORK" == "yes"; then
  dnl If you will not be testing anything external, like existence of
  dnl headers, libraries or functions in them, just uncomment the 
  dnl following line and you are ready to go.
  AC_DEFINE(HAVE_ITNETWORK, 1, [ ])
  dnl Write more examples of tests here...
  PHP_EXTENSION(itnetwork, $ext_shared)
fi







--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to