summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-27 20:35:04 +0000
committerfoobar <sniper@php.net>2001-03-27 20:35:04 +0000
commit8a26918ed113620828f48989e6a170cd630f6a4e (patch)
tree0fedcc6f4b9f8a6c657305fa96b7d89bcc641787 /ext/cpdf
parentc713967de336eea5b774b134a4e4023f1b8c946c (diff)
downloadphp-git-8a26918ed113620828f48989e6a170cd630f6a4e.tar.gz
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
Diffstat (limited to 'ext/cpdf')
-rw-r--r--ext/cpdf/config.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/cpdf/config.m4 b/ext/cpdf/config.m4
index 59f2ddb050..c1d6aaa280 100644
--- a/ext/cpdf/config.m4
+++ b/ext/cpdf/config.m4
@@ -14,9 +14,9 @@ AC_ARG_WITH(cpdflib,
PHP_EXTENSION(cpdf)
AC_CHECK_LIB(cpdf, cpdf_open, [AC_DEFINE(HAVE_CPDFLIB,1,[Whether you have cpdflib])],
[AC_MSG_ERROR(Cpdf module requires cpdflib >= 2.)])
- AC_ADD_LIBRARY(cpdf)
- AC_ADD_LIBRARY(tiff)
- AC_ADD_LIBRARY(jpeg)
+ PHP_ADD_LIBRARY(cpdf)
+ PHP_ADD_LIBRARY(tiff)
+ PHP_ADD_LIBRARY(jpeg)
;;
*)
test -f $withval/include/cpdflib.h && CPDFLIB_INCLUDE="$withval/include"
@@ -35,7 +35,7 @@ AC_ARG_WITH(cpdflib,
fi
LIBS="$LIBS -L$withval/lib"
AC_CHECK_LIB(jpeg,jpeg_read_header, ,[AC_MSG_RESULT(no)],)
- AC_ADD_LIBRARY_WITH_PATH(jpeg, $withval/lib)
+ PHP_ADD_LIBRARY_WITH_PATH(jpeg, $withval/lib)
],[
AC_MSG_RESULT(no)
AC_MSG_WARN(If configure fails try --with-jpeg-dir=<DIR>)
@@ -50,7 +50,7 @@ AC_ARG_WITH(cpdflib,
fi
LIBS="$LIBS -L$withval/lib"
AC_CHECK_LIB(tiff,TIFFOpen, ,[AC_MSG_RESULT(no)],)
- AC_ADD_LIBRARY_WITH_PATH(tiff, $withval/lib)
+ PHP_ADD_LIBRARY_WITH_PATH(tiff, $withval/lib)
],[
AC_MSG_RESULT(no)
AC_MSG_WARN(If configure fails try --with-tiff-dir=<DIR>)
@@ -61,8 +61,8 @@ AC_ARG_WITH(cpdflib,
AC_CHECK_LIB(cpdf, cpdf_open, [AC_DEFINE(HAVE_CPDFLIB,1,[Whether you have cpdflib])],
[AC_MSG_ERROR(Cpdflib module requires cpdflib >= 2.)])
LIBS=$old_LIBS
- AC_ADD_LIBRARY_WITH_PATH(cpdf, $withval/lib)
- AC_ADD_INCLUDE($CPDFLIB_INCLUDE)
+ PHP_ADD_LIBRARY_WITH_PATH(cpdf, $withval/lib)
+ PHP_ADD_INCLUDE($CPDFLIB_INCLUDE)
else
AC_MSG_RESULT(no)
fi ;;