summaryrefslogtreecommitdiff
path: root/ext/pdf/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
committerfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
commit032b2631292008146b3a9c779f5dfc717a9ec82d (patch)
tree65977d797f6e0237a557a80b24a841871caa8e54 /ext/pdf/config.m4
parentd082fb373d4a2b1cdd336cab5bf4ca574803cdfb (diff)
downloadphp-git-032b2631292008146b3a9c779f5dfc717a9ec82d.tar.gz
Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB # if you need to pass extra libs/libpaths to the test.
Diffstat (limited to 'ext/pdf/config.m4')
-rw-r--r--ext/pdf/config.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4
index 834236be48..1cb4efc40a 100644
--- a/ext/pdf/config.m4
+++ b/ext/pdf/config.m4
@@ -43,7 +43,7 @@ if test "$PHP_PDFLIB" != "no"; then
[ --with-jpeg-dir[=DIR] PDFLIB: define libjpeg install directory])
if test "$PHP_JPEG_DIR" != "no"; then
- AC_CHECK_LIB(jpeg,jpeg_read_header,
+ PHP_CHECK_LIBRARY(jpeg,jpeg_read_header,
[
PHP_ADD_LIBRARY_WITH_PATH(jpeg, $PHP_JPEG_DIR/lib, PDFLIB_SHARED_LIBADD)
],[
@@ -65,7 +65,7 @@ if test "$PHP_PDFLIB" != "no"; then
[ --with-png-dir[=DIR] PDFLIB: define libpng install directory])
if test "$PHP_PNG_DIR" != "no"; then
- AC_CHECK_LIB(png,png_create_info_struct,
+ PHP_CHECK_LIBRARY(png,png_create_info_struct,
[
PHP_ADD_LIBRARY_WITH_PATH(png, $PHP_PNG_DIR/lib, PDFLIB_SHARED_LIBADD)
],[
@@ -87,7 +87,7 @@ if test "$PHP_PDFLIB" != "no"; then
[ --with-tiff-dir[=DIR] PDFLIB: define libtiff install directory])
if test "$PHP_TIFF_DIR" != "no"; then
- AC_CHECK_LIB(tiff,TIFFOpen,
+ PHP_CHECK_LIBRARY(tiff,TIFFOpen,
[
PHP_ADD_LIBRARY_WITH_PATH(tiff, $PHP_TIFF_DIR/lib, PDFLIB_SHARED_LIBADD)
],[
@@ -105,7 +105,7 @@ if test "$PHP_PDFLIB" != "no"; then
fi
- AC_CHECK_LIB(pdf, PDF_show_boxed,
+ PHP_CHECK_LIBRARY(pdf, PDF_show_boxed,
[
AC_DEFINE(HAVE_PDFLIB,1,[ ])
PHP_ADD_LIBRARY_WITH_PATH(pdf, $PHP_PDFLIB/lib, PDFLIB_SHARED_LIBADD)