File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -53,23 +53,24 @@ if test -z "$PHP_ZLIB_DIR"; then
53
53
[ --with-zlib-dir[ =DIR] MySQL: Set the path to libz install prefix] , no, no)
54
54
fi
55
55
56
+ AC_MSG_CHECKING ( [ for MySQL UNIX socket location] )
57
+ if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
58
+ MYSQL_SOCK=$PHP_MYSQL_SOCK
59
+ AC_DEFINE_UNQUOTED ( PHP_MYSQL_UNIX_SOCK_ADDR , "$MYSQL_SOCK" , [ ] )
60
+ AC_MSG_RESULT ( [ $MYSQL_SOCK] )
61
+ elif test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL_SOCK" = "yes"; then
62
+ PHP_MYSQL_SOCKET_SEARCH
63
+ else
64
+ AC_MSG_RESULT ( [ no] )
65
+ fi
66
+
67
+
56
68
if test "$PHP_MYSQL" = "mysqlnd"; then
57
69
dnl enables build of mysqnd library
58
70
PHP_MYSQLND_ENABLED=yes
59
71
60
72
elif test "$PHP_MYSQL" != "no"; then
61
73
62
- AC_MSG_CHECKING ( [ for MySQL UNIX socket location] )
63
- if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
64
- MYSQL_SOCK=$PHP_MYSQL_SOCK
65
- AC_DEFINE_UNQUOTED ( PHP_MYSQL_UNIX_SOCK_ADDR , "$MYSQL_SOCK" , [ ] )
66
- AC_MSG_RESULT ( [ $MYSQL_SOCK] )
67
- elif test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL_SOCK" = "yes"; then
68
- PHP_MYSQL_SOCKET_SEARCH
69
- else
70
- AC_MSG_RESULT ( [ no] )
71
- fi
72
-
73
74
MYSQL_DIR=
74
75
MYSQL_INC_DIR=
75
76
You can’t perform that action at this time.
0 commit comments