[packages_10.03.2] aiccu: Backport r32708 (#11892)
[10.03/packages.git] / net / samba3 / patches / 170-no_rpc.patch
1
2 --- a/source/configure
3 +++ b/source/configure
4 @@ -22548,6 +22548,17 @@ rm -f conftest.err conftest.$ac_ext
5  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6  $as_echo "$ac_header_preproc" >&6; }
7  
8 +# Force disable RPC
9 +$as_echo "test=$ac_header" >&6
10 +if test "$ac_header" = "rpc/rpc.h"; then
11 +    if test "$ac_header_compiler" = "yes" -o "$ac_header_preproc" = "yes"; then
12 +        $as_echo "RPC support force disabled by OpenWRT patch" >&5
13 +        $as_echo "RPC support force disabled by OpenWRT patch" >&6
14 +    fi
15 +fi
16 +ac_header_compiler=no
17 +ac_header_preproc=no
18 +
19  # So?  What about this header?
20  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21    yes:no: )