blob: 8108209ac4a0df242aa47c7bf83dfc94748b3009 (
plain)
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
|
diff -Naur tdb-1.2.11.orig/lib/replace/wscript tdb-1.2.11/lib/replace/wscript
--- tdb-1.2.11.orig/lib/replace/wscript 2012-11-30 08:51:31.000000000 +0000
+++ tdb-1.2.11/lib/replace/wscript 2014-02-23 12:37:58.921617847 +0000
@@ -215,21 +215,6 @@
#Some OS (ie. freebsd) return EINVAL if the convertion could not be done, it's not what we expect
#Let's detect those cases
- if conf.CONFIG_SET('HAVE_STRTOLL'):
- conf.CHECK_CODE('''
- long long nb = strtoll("Text", NULL, 0);
- if (errno == EINVAL) {
- return 0;
- } else {
- return 1;
- }
- ''',
- msg="Checking correct behavior of strtoll",
- headers = 'errno.h',
- execute = True,
- define_ret = True,
- define = 'HAVE_BSD_STRTOLL',
- )
conf.CHECK_FUNCS('if_nametoindex strerror_r')
conf.CHECK_FUNCS('getdirentries getdents syslog')
conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
|