com php-src: change order, allow to build as shared extension: ext/sodium/config.m4
| From: | Remi Collet | Date: | Tue, 11 Jul 2017 11:53:06 +0000 |
| Subject: | com php-src: change order, allow to build as shared extension: ext/sodium/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98514@lists.php.net to get a copy of this message | ||
Commit: 249f75e7e423ce858827c1d13231e1f762a9b267
Author: Remi Collet <remi@php.net> Tue, 11 Jul 2017 13:53:06 +0200
Parents: d5f7e01f7cd2d3d51ea9bb96286da442b38e1d00
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=249f75e7e423ce858827c1d13231e1f762a9b267
Log:
change order, allow to build as shared extension
Changed paths:
M ext/sodium/config.m4
Diff:
diff --git a/ext/sodium/config.m4 b/ext/sodium/config.m4
index edb5cd6..dc7ffe1 100644
--- a/ext/sodium/config.m4
+++ b/ext/sodium/config.m4
@@ -1,12 +1,12 @@
dnl $Id$
dnl config.m4 for extension sodium
-PHP_ARG_WITH(sodium, for sodium support,
-[ --with-sodium Include sodium support])
-
PHP_ARG_WITH(libsodium, for libsodium library location,
[ --with-libsodium[[=DIR]] libsodium library location, else rely on pkg-config])
+PHP_ARG_WITH(sodium, for sodium support,
+[ --with-sodium Include sodium support])
+
if test "$PHP_SODIUM" != "no"; then
SEARCH_PATH="/usr/local /usr" # you might want to change this
SEARCH_FOR="/include/sodium.h" # you most likely want to change this