1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib
Martin Schwenke 9f5768106f replace: Add check for variable program_invocation_short_name
It appears that wafsamba's configure() defines _GNU_SOURCE
unconditionally, so checking _GNU_SOURCE isn't enough to know if this
variable is available.

For example, it isn't available on AIX with the xlc compiler:

  [ 6/10] Compiling lib/replace/replace.c
  ...
  "../../lib/replace/replace.c", line 991.16: 1506-045 (S) Undeclared identifier program_invocation_short_name.

Instead, add a configure check for program_invocation_short_name and
use it.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Nov 13 11:11:11 CET 2018 on sn-devel-144
2018-11-13 11:11:11 +01:00
..
addns addns: Fix a typo 2018-06-16 04:21:17 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
audit_logging audit_logging: Use dom_sid_str_buf 2018-11-02 21:21:16 +01:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto lib: Remove lib/crypto/crc32.[ch] 2018-10-10 01:41:52 +02:00
dbwrap dbwrap_tdb: Avoid double-call to talloc_get_type_abort 2018-09-14 07:49:13 +02:00
krb5_wrap krb5-samba: interdomain trust uses different salt principal 2018-09-05 03:57:22 +02:00
ldb lib: ldb: Remove use of talloc_autofree_context(). 2018-11-06 07:16:15 +01:00
ldb-samba ldb-samba/tests/match-rules: remove unused imports 2018-10-25 21:45:55 +02:00
mscat lib/mscat: fix logging in wscript 2018-09-05 06:37:27 +02:00
param source4 smbd prefork: Increase default worklers to 4 2018-11-07 17:55:09 +01:00
pthreadpool pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close() 2018-07-31 11:26:16 +02:00
replace replace: Add check for variable program_invocation_short_name 2018-11-13 11:11:11 +01:00
smbconf Correct "occured" typos. 2017-02-22 08:26:21 +01:00
socket lib:socket: If returning early, set ifaces 2018-10-28 00:35:34 +02:00
talloc lib: talloc: Mark talloc_autofree_context() as deprecated. 2018-11-06 07:16:15 +01:00
tdb tdb: Align integer types 2018-11-06 21:52:32 +01:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent lib: Avoid the use of open_memstream in tevent_req_profile_string 2018-10-08 22:17:11 +02:00
texpect lib:texpect: Avoid some compiler warnings 2018-03-01 04:37:41 +01:00
torture selftest: consistently produce high-res UTC time 2018-03-22 13:26:44 +01:00
tsocket tsocket: Fix typos 2018-01-04 00:37:20 +01:00
util debug: Use debuglevel_(get|set) function 2018-11-08 11:03:11 +01:00
README build: Move nss_wrapper to third_party 2017-11-25 10:14:13 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library