php-src/ext/dba
Arnaud Le Blanc 11accb5cdf
Preferably include from build dir (#13516)
* Include from build dir first

This fixes out of tree builds by ensuring that configure artifacts are included
from the build dir.

Before, out of tree builds would preferably include files from the src dir, as
the include path was defined as follows (ignoring includes from ext/ and sapi/) :

    -I$(top_builddir)/main
    -I$(top_srcdir)
    -I$(top_builddir)/TSRM
    -I$(top_builddir)/Zend
    -I$(top_srcdir)/main
    -I$(top_srcdir)/Zend
    -I$(top_srcdir)/TSRM
    -I$(top_builddir)/

As a result, an out of tree build would include configure artifacts such as
`main/php_config.h` from the src dir.

After this change, the include path is defined as follows:

    -I$(top_builddir)/main
    -I$(top_builddir)
    -I$(top_srcdir)/main
    -I$(top_srcdir)
    -I$(top_builddir)/TSRM
    -I$(top_builddir)/Zend
    -I$(top_srcdir)/Zend
    -I$(top_srcdir)/TSRM

* Fix extension include path for out of tree builds

* Include config.h with the brackets form

`#include "config.h"` searches in the directory containing the including-file
before any other include path. This can include the wrong config.h when building
out of tree and a config.h exists in the source tree.

Using `#include <config.h>` uses exclusively the include path, and gives
priority to the build dir.
2024-06-26 00:26:43 +02:00
..
libcdb Fix [-Wstrict-prototypes] in DBA 2023-03-06 17:03:41 +00:00
libflatfile Sync #if/ifdef/defined (#14508) 2024-06-09 14:23:41 +02:00
libinifile Sync #if/ifdef/defined (#14508) 2024-06-09 14:23:41 +02:00
tests Merge branch 'PHP-8.3' 2024-05-24 14:48:51 +02:00
config.m4 Use AC_DEFINE_UNQUOTED where variables are used (#14647) 2024-06-23 23:53:50 +02:00
config.w32 Remove DBA_DB1 definition from Windows build (#14649) 2024-06-24 16:50:22 +02:00
CREDITS Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
dba_arginfo.h Migrate ext/dba resources to objects (#14239) 2024-05-17 08:43:33 +02:00
dba_cdb.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_db1.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_db2.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_db3.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_db4.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_dbm.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_flatfile.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_gdbm.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_inifile.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_lmdb.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_ndbm.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_qdbm.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba_tcadb.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
dba.stub.php Migrate ext/dba resources to objects (#14239) 2024-05-17 08:43:33 +02:00
install_cdb.sh Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php_cdb.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_db1.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_db2.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_db3.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_db4.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_dba.h Migrate ext/dba resources to objects (#14239) 2024-05-17 08:43:33 +02:00
php_dbm.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_flatfile.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_gdbm.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_inifile.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_lmdb.h Add support to pass driver flags to DBA handlers 2022-07-23 18:38:27 +01:00
php_ndbm.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_qdbm.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00
php_tcadb.h Fix [-Wundef] warnings in DBA extension 2022-04-01 14:38:44 +01:00