12298e657de52bda1bac850e11eec4be1dcf8a3c
[openwrt/svn-archive/archive.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 @@ -6816,59 +6816,8 @@ fi
28
29
30
31 -# Check for asciidoc
32 -# Extract the first word of "a2x", so it can be a program name with args.
33 -set dummy a2x; ac_word=$2
34 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35 -$as_echo_n "checking for $ac_word... " >&6; }
36 -if test "${ac_cv_path_A2X+set}" = set; then :
37 - $as_echo_n "(cached) " >&6
38 -else
39 - case $A2X in
40 - [\\/]* | ?:[\\/]*)
41 - ac_cv_path_A2X="$A2X" # Let the user override the test with a path.
42 - ;;
43 - *)
44 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45 -for as_dir in $PATH
46 -do
47 - IFS=$as_save_IFS
48 - test -z "$as_dir" && as_dir=.
49 - for ac_exec_ext in '' $ac_executable_extensions; do
50 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51 - ac_cv_path_A2X="$as_dir/$ac_word$ac_exec_ext"
52 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
53 - break 2
54 - fi
55 -done
56 - done
57 -IFS=$as_save_IFS
58 -
59 - test -z "$ac_cv_path_A2X" && ac_cv_path_A2X="no"
60 - ;;
61 -esac
62 -fi
63 -A2X=$ac_cv_path_A2X
64 -if test -n "$A2X"; then
65 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $A2X" >&5
66 -$as_echo "$A2X" >&6; }
67 -else
68 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
69 -$as_echo "no" >&6; }
70 -fi
71 -
72 -
73 - if test "x$A2X" != "xno"; then
74 - HAVE_A2X_TRUE=
75 - HAVE_A2X_FALSE='#'
76 -else
77 HAVE_A2X_TRUE='#'
78 HAVE_A2X_FALSE=
79 -fi
80 -
81 -if test x"$A2X" = x"no"; then
82 - as_fn_error "Test for asciidoc failed. See the file 'INSTALL' for help." "$LINENO" 5
83 -fi
84
85 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"
86