File tree 2 files changed +8
-1
lines changed 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if test "$PHP_PDO_SQLITE" != "no"; then
33
33
php_pdo_sqlite_sources_core="pdo_sqlite.c sqlite_driver.c sqlite_statement.c"
34
34
35
35
if test "$PHP_PDO_SQLITE" != "yes"; then
36
- SEARCH_PATH="$PHP_PDO_SQLITE /usr/local /usr" # you might want to change this
36
+ SEARCH_PATH="$PHP_PDO_SQLITE /usr/local /usr /system " # you might want to change this
37
37
SEARCH_FOR="/include/sqlite3.h" # you most likely want to change this
38
38
if test -r $PHP_PDO_SQLITE/$SEARCH_FOR; then # path given as parameter
39
39
PDO_SQLITE_DIR=$PHP_PDO_SQLITE
@@ -43,6 +43,9 @@ if test "$PHP_PDO_SQLITE" != "no"; then
43
43
if test -r $i/$SEARCH_FOR; then
44
44
PDO_SQLITE_DIR=$i
45
45
AC_MSG_RESULT ( found in $i )
46
+ elif test -r $i/develop/headers/sqlite3.h; then
47
+ PDO_SQLITE_DIR=$i
48
+ AC_MSG_RESULT ( found in $i )
46
49
fi
47
50
done
48
51
fi
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ if test $PHP_SQLITE3 != "no"; then
27
27
SQLITE3_DIR=$i
28
28
AC_MSG_RESULT ( found in $i )
29
29
break
30
+ elif test -r $i/develop/headers/sqlite3.h; then
31
+ SQLITE3_DIR=$i
32
+ AC_MSG_RESULT ( found in $i )
33
+ break
30
34
fi
31
35
done
32
36
You can’t perform that action at this time.
0 commit comments