diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-05-12 18:51:50 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-12 18:51:50 +0200 |
commit | 2cf90bb2f006e2973b666426b18596e2e67ccfd9 (patch) | |
tree | 119e06295fd516d1dbf2ecf3c316b6ab7af7c67c /ext/pdo_sqlite | |
parent | 3005d6c21d8a4d6115a8159934b604e10b8a1136 (diff) | |
parent | 75fb74860da7decd94432a4d211795310308a4a8 (diff) | |
download | php-git-2cf90bb2f006e2973b666426b18596e2e67ccfd9.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Normalize comments in *nix build system m4 files
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r-- | ext/pdo_sqlite/config.m4 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ext/pdo_sqlite/config.m4 b/ext/pdo_sqlite/config.m4 index c426eaf137..ad955947cf 100644 --- a/ext/pdo_sqlite/config.m4 +++ b/ext/pdo_sqlite/config.m4 @@ -1,5 +1,3 @@ -dnl config.m4 for extension pdo_sqlite - PHP_ARG_WITH([pdo-sqlite], [for sqlite 3 support for PDO], [AS_HELP_STRING([[--without-pdo-sqlite[=DIR]]], @@ -32,11 +30,15 @@ if test "$PHP_PDO_SQLITE" != "no"; then php_pdo_sqlite_sources_core="pdo_sqlite.c sqlite_driver.c sqlite_statement.c" - SEARCH_PATH="$PHP_PDO_SQLITE /usr/local /usr" # you might want to change this - SEARCH_FOR="/include/sqlite3.h" # you most likely want to change this - if test -r $PHP_PDO_SQLITE/$SEARCH_FOR; then # path given as parameter + dnl you might want to change this + SEARCH_PATH="$PHP_PDO_SQLITE /usr/local /usr" + dnl you most likely want to change this + SEARCH_FOR="/include/sqlite3.h" + if test -r $PHP_PDO_SQLITE/$SEARCH_FOR; then + dnl path given as parameter PDO_SQLITE_DIR=$PHP_PDO_SQLITE - else # search default path list + else + dnl search default path list AC_MSG_CHECKING([for sqlite3 files in default path]) for i in $SEARCH_PATH ; do if test -r $i/$SEARCH_FOR; then |