@@ -0,0 +1,25 @@
+Index: config.m4
+===================================================================
+RCS file: /repository/pecl/pdf/config.m4,v
+retrieving revision 1.48
+diff -u -r1.48 config.m4
+--- config.m4 5 Oct 2006 11:57:53 -0000 1.48
++++ config.m4 20 Jan 2007 06:52:49 -0000
+@@ -41,7 +41,7 @@
+ PHP_CHECK_LIBRARY(pdf, PDF_open_pdi,
+ [
+ AC_DEFINE(HAVE_PDFLIB,1,[ ])
+- PHP_ADD_LIBRARY_WITH_PATH(pdf, $PHP_PDFLIB/lib, PDF_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(pdf, $PHP_PDFLIB/$PHP_LIBDIR, PDF_SHARED_LIBADD)
+ PHP_ADD_INCLUDE($PHP_PDFLIB/include)
+ ],[
+ AC_MSG_ERROR([
+@@ -49,7 +49,7 @@
+ See config.log for more information.
+ ])
+ ],[
+- -L$PHP_PDFLIB/lib $PDF_SHARED_LIBADD -lm
++ -L$PHP_PDFLIB/$PHP_LIBDIR $PDF_SHARED_LIBADD -lm
+ ])
+ else
+ AC_MSG_ERROR([pdflib.h not found! Check the path passed to --with-pdflib=<PATH>. PATH should be the install prefix directory.])
|