Upstream refresh for v1.5.0-rc1 : Upstream 19.07 : 4fb6b8c553f692eeb5bcb203e0f8ee8df0...
[librecmc/librecmc.git] / package / network / services / tinyproxy / patches / 010-no-docs-and-tests.patch
1 --- a/configure
2 +++ b/configure
3 @@ -6815,59 +6815,8 @@ fi
4  
5  
6  
7 -# Check for asciidoc
8 -# Extract the first word of "a2x", so it can be a program name with args.
9 -set dummy a2x; ac_word=$2
10 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 -$as_echo_n "checking for $ac_word... " >&6; }
12 -if test "${ac_cv_path_A2X+set}" = set; then :
13 -  $as_echo_n "(cached) " >&6
14 -else
15 -  case $A2X in
16 -  [\\/]* | ?:[\\/]*)
17 -  ac_cv_path_A2X="$A2X" # Let the user override the test with a path.
18 -  ;;
19 -  *)
20 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21 -for as_dir in $PATH
22 -do
23 -  IFS=$as_save_IFS
24 -  test -z "$as_dir" && as_dir=.
25 -    for ac_exec_ext in '' $ac_executable_extensions; do
26 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27 -    ac_cv_path_A2X="$as_dir/$ac_word$ac_exec_ext"
28 -    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29 -    break 2
30 -  fi
31 -done
32 -  done
33 -IFS=$as_save_IFS
34 -
35 -  test -z "$ac_cv_path_A2X" && ac_cv_path_A2X="no"
36 -  ;;
37 -esac
38 -fi
39 -A2X=$ac_cv_path_A2X
40 -if test -n "$A2X"; then
41 -  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $A2X" >&5
42 -$as_echo "$A2X" >&6; }
43 -else
44 -  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45 -$as_echo "no" >&6; }
46 -fi
47 -
48 -
49 - if test "x$A2X" != "xno"; then
50 -  HAVE_A2X_TRUE=
51 -  HAVE_A2X_FALSE='#'
52 -else
53    HAVE_A2X_TRUE='#'
54    HAVE_A2X_FALSE=
55 -fi
56 -
57 -if test x"$A2X" = x"no"; then
58 -  as_fn_error $? "Test for asciidoc failed. See the file 'INSTALL' for help." "$LINENO" 5
59 -fi
60  
61  ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/templates/Makefile etc/Makefile docs/Makefile docs/man5/Makefile docs/man5/tinyproxy.conf.txt docs/man8/Makefile docs/man8/tinyproxy.txt m4macros/Makefile tests/Makefile tests/scripts/Makefile"
62  
63 --- a/Makefile.am
64 +++ b/Makefile.am
65 @@ -2,9 +2,7 @@ SUBDIRS = \
66         src \
67         data \
68         etc \
69 -       docs \
70         m4macros \
71 -       tests
72  
73  # tools want this on a single line
74  ACLOCAL_AMFLAGS = -I m4macros
75 --- a/Makefile.in
76 +++ b/Makefile.in
77 @@ -222,9 +222,7 @@ SUBDIRS = \
78         src \
79         data \
80         etc \
81 -       docs \
82         m4macros \
83 -       tests
84  
85  
86  # tools want this on a single line