diff options
author | Jeremy Allison <jra@samba.org> | 2012-06-29 13:46:23 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-30 00:32:36 +0200 |
commit | f81fd1ccc3228bf06455ad4c3265b71ca17ae407 (patch) | |
tree | d09aed8da40fb158d599f5fffc6b7765734f91ca /source3/wscript | |
parent | d91bf0d42863c996df5bf3c0d57e329d7a58a6af (diff) | |
download | samba-f81fd1ccc3228bf06455ad4c3265b71ca17ae407.tar.gz samba-f81fd1ccc3228bf06455ad4c3265b71ca17ae407.tar.bz2 samba-f81fd1ccc3228bf06455ad4c3265b71ca17ae407.zip |
Try and fix the autoconf build on Solaris/Nexenta/etc.
Their AC_TRY_RUN doesn't include any current CPPFLAGS. Make
the set[res]uid checks independent of this. Needs a small
change to the waf build in order to code with the change.
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun 30 00:32:36 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rwxr-xr-x | source3/wscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 449bf20e05..cc05095c25 100755 --- a/source3/wscript +++ b/source3/wscript @@ -733,6 +733,7 @@ int i; i = PAM_RADIO_TYPE; seteuid = conf.CHECK_CODE(''' #define AUTOCONF_TEST 1 #define USE_LINUX_THREAD_CREDENTIALS 1 + #include "../lib/util/setid.c" #include "./lib/util_sec.c" ''', 'USE_LINUX_THREAD_CREDENTIALS', @@ -743,6 +744,7 @@ int i; i = PAM_RADIO_TYPE; seteuid = conf.CHECK_CODE(''' #define AUTOCONF_TEST 1 #define USE_SETREUID 1 + #include "../lib/util/setid.c" #include "./lib/util_sec.c" ''', 'USE_SETREUID', @@ -753,6 +755,7 @@ int i; i = PAM_RADIO_TYPE; seteuid = conf.CHECK_CODE(''' #define AUTOCONF_TEST 1 #define USE_SETRESUID 1 + #include "../lib/util/setid.c" #include "./lib/util_sec.c" ''', 'USE_SETRESUID', @@ -763,6 +766,7 @@ int i; i = PAM_RADIO_TYPE; seteuid = conf.CHECK_CODE(''' #define AUTOCONF_TEST 1 #define USE_SETEUID 1 + #include "../lib/util/setid.c" #include "./lib/util_sec.c" ''', 'USE_SETEUID', @@ -773,6 +777,7 @@ int i; i = PAM_RADIO_TYPE; seteuid = conf.CHECK_CODE(''' #define AUTOCONF_TEST 1 #define USE_SETUIDX 1 + #include "../lib/util/setid.c" #include "./lib/util_sec.c" ''', 'USE_SETUIDX', |