File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
dnl $Id$
2
2
dnl config.m4 for extension sodium
3
3
4
- PHP_ARG_WITH(libsodium, for libsodium library location,
5
- [ --with-libsodium[ [ =DIR] ] libsodium library location, else rely on pkg-config] )
6
-
7
4
PHP_ARG_WITH(sodium, for sodium support,
8
- [ --with-sodium Include sodium support] )
5
+ [ --with-sodium[ =DIR ] Include sodium support] )
9
6
10
7
if test "$PHP_SODIUM" != "no"; then
11
8
SEARCH_PATH="/usr/local /usr" # you might want to change this
@@ -15,9 +12,9 @@ if test "$PHP_SODIUM" != "no"; then
15
12
AC_MSG_CHECKING ( [ for libsodium] )
16
13
17
14
dnl user provided location
18
- if test -r $PHP_LIBSODIUM /$SEARCH_FOR; then # path given as parameter
19
- LIBSODIUM_DIR=$PHP_LIBSODIUM
20
- AC_MSG_RESULT ( [ found in $PHP_LIBSODIUM ] )
15
+ if test -r $PHP_SODIUM /$SEARCH_FOR; then # path given as parameter
16
+ LIBSODIUM_DIR=$PHP_SODIUM
17
+ AC_MSG_RESULT ( [ found in $PHP_SODIUM ] )
21
18
22
19
dnl pkg-config output
23
20
elif test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libsodium; then
You can’t perform that action at this time.
0 commit comments