--- php-4.3.3RC3/ext/cpdf/config.m4.orig 2003-06-26 20:06:46.000000000 +0200 +++ php-4.3.3RC3/ext/cpdf/config.m4 2003-08-16 16:03:49.062764192 +0200 @@ -53,7 +53,8 @@ PHP_WITH_SHARED if test "$withval" != "no"; then cpdf_withval=$withval - PHP_NEW_EXTENSION(cpdf, cpdf.c, $ext_shared,, \\$(GDLIB_CFLAGS)) + PHP_NEW_EXTENSION(cpdf, cpdf.c, $shared,, \\$(GDLIB_CFLAGS)) + ext_shared=$shared PHP_SUBST(CPDF_SHARED_LIBADD) CPDF_JPEG_TEST CPDF_TIFF_TEST