1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Joseph Sutton
e8514527be tests: Fix old-style function definitions
These files are included into the source3/wscript configure
checks and so need to avoid C89 features otherwise they
may cause an incorrect configure failure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15281

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-03-03 01:07:36 +00:00
Ralph Boehme
0d2eeb9422 lib/util: rename USE_LINUX_THREAD_CREDENTIALS to HAVE_LINUX_THREAD_CREDENTIALS
The define reflects the results of a feature test, not a configure
option.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2018-07-24 17:38:28 +02:00
Gustavo Zacarias
a7d4185bb8 build: don't execute tests/summary.c
tests/summary.c will never be able to be executed when cross compiling.
Use #error and #warning directives to fail or warn accordingly when
compiling it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
2014-02-12 12:37:31 +13:00
Björn Jacke
a93f56a069 test: fix compile warning on test summary 2012-07-12 12:47:29 +02:00
Jeremy Allison
485787f0df Move back to using per-thread credentials on Linux. Fixes the glibc native AIO lost wakeup problem.
See this post:

https://lists.samba.org/archive/samba-technical/2012-June/085101.html

for details.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
2012-06-29 03:57:45 +02:00
Andrew Bartlett
ebe2e862ba build: Fix bitrotted configure summary, we now also test HAVE_IFACE_GETIFADDRS 2012-04-05 02:39:09 +02:00
Andrew Bartlett
a5fcce05b6 build: Restore configure summary checking
This was accidentily lost in:

commit b1ce226af8
Author: James Peach <jpeach@samba.org>
Date:   Fri Jun 15 21:58:49 2007 +0000

    r23510: Tidy calls to smb_panic by removing trailing newlines. Print the
    failed expression in SMB_ASSERT.
    (This used to be commit 171dc060e2)
2012-04-05 02:39:09 +02:00
Andrew Bartlett
b4e58111b9 build: Remove configure tests for *64 functions and types
We now use the standard types only.

Andrew Bartlett
2012-04-05 02:39:08 +02:00
Jelmer Vernooij
e490c1b8c8 Move configure test files to the top-level and share them between s3 and
s4.
2009-01-22 11:35:28 +01:00