1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright (c) 2022-2023, PostgreSQL Global Development Group
ecpg_inc = include_directories('.')
ecpg_conf_keys = [
'ENABLE_THREAD_SAFETY',
'HAVE_INT64',
'HAVE_LONG_INT_64',
'HAVE_LONG_LONG_INT_64',
'PG_USE_STDBOOL',
]
ecpg_conf_data = configuration_data()
foreach key : ecpg_conf_keys
if cdata.has(key)
ecpg_conf_data.set(key, cdata.get(key))
endif
endforeach
ecpg_config_h = configure_file(
output: 'ecpg_config.h',
configuration: ecpg_conf_data,
install_dir: dir_include,
)
configure_files += ecpg_config_h
generated_sources_ac += {'src/interfaces/ecpg/include': ['stamp-h']}
install_headers(
'ecpg_informix.h',
'ecpgerrno.h',
'ecpglib.h',
'ecpgtype.h',
'pgtypes.h',
'pgtypes_date.h',
'pgtypes_error.h',
'pgtypes_interval.h',
'pgtypes_numeric.h',
'pgtypes_timestamp.h',
'sql3types.h',
'sqlca.h',
'sqlda.h',
'sqlda-compat.h',
'sqlda-native.h',
)
install_headers(
'datetime.h',
'decimal.h',
'sqltypes.h',
install_dir: dir_include_pkg / 'informix' / 'esql',
)
|