File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -53,24 +53,23 @@ 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
-
68
56
if test "$PHP_MYSQL" = "mysqlnd"; then
69
57
dnl enables build of mysqnd library
70
58
PHP_MYSQLND_ENABLED=yes
71
59
72
60
elif test "$PHP_MYSQL" != "no"; then
73
61
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
+
74
73
MYSQL_DIR=
75
74
MYSQL_INC_DIR=
76
75
You can’t perform that action at this time.
0 commit comments