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