File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 1
1
dnl config.m4 for extension pdo
2
2
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
-
28
3
PHP_ARG_ENABLE(pdo, whether to enable PDO support,
29
4
[ --disable-pdo Disable PHP Data Objects support] , yes)
30
5
@@ -33,8 +8,6 @@ if test "$PHP_PDO" != "no"; then
33
8
dnl Make sure $PHP_PDO is 'yes' when it's not 'no' :)
34
9
PHP_PDO=yes
35
10
36
- PHP_PDO_PEAR_CHECK
37
-
38
11
PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
39
12
ifdef ( [ PHP_ADD_EXTENSION_DEP] ,
40
13
[
You can’t perform that action at this time.
0 commit comments