Skip to content

Commit 6ee82a2

Browse files
committed
Remove not needed PHP_PDO_PEAR_CHECK m4 macro
1 parent 00e050e commit 6ee82a2

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

ext/pdo/config.m4

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
dnl config.m4 for extension pdo
22

3-
AC_DEFUN([PHP_PDO_PEAR_CHECK],[
4-
pdo_running_under_pear=0
5-
case `pwd` in
6-
/var/tmp/pear-build-*)
7-
pdo_running_under_pear=1
8-
;;
9-
esac
10-
11-
if test "$pdo_running_under_pear$PHP_PEAR_VERSION" = "1"; then
12-
# we're running in an environment that smells like pear,
13-
# and the PHP_PEAR_VERSION env var is not set. That implies
14-
# that we're running under a slightly broken pear installer
15-
AC_MSG_ERROR([
16-
PDO requires that you upgrade your PEAR installer tools. Please
17-
do so now by running:
18-
19-
% sudo pear upgrade pear
20-
21-
or by manually downloading and installing PEAR version 1.3.5 or higher.
22-
23-
Once you've upgraded, please re-try your PDO install.
24-
])
25-
fi
26-
])
27-
283
PHP_ARG_ENABLE(pdo, whether to enable PDO support,
294
[ --disable-pdo Disable PHP Data Objects support], yes)
305

@@ -33,8 +8,6 @@ if test "$PHP_PDO" != "no"; then
338
dnl Make sure $PHP_PDO is 'yes' when it's not 'no' :)
349
PHP_PDO=yes
3510

36-
PHP_PDO_PEAR_CHECK
37-
3811
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
3912
ifdef([PHP_ADD_EXTENSION_DEP],
4013
[

0 commit comments

Comments
 (0)