... | ... |
@@ -119,7 +119,7 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
119 | 119 |
$(top_srcdir)/docs/man/clamdtop.1.in \ |
120 | 120 |
$(top_srcdir)/docs/man/clamsubmit.1.in COPYING config/compile \ |
121 | 121 |
config/config.guess config/config.rpath config/config.sub \ |
122 |
- config/depcomp config/install-sh config/missing config/ylwrap \ |
|
122 |
+ config/install-sh config/missing config/ylwrap \ |
|
123 | 123 |
config/ltmain.sh $(top_srcdir)/config/compile \ |
124 | 124 |
$(top_srcdir)/config/config.guess \ |
125 | 125 |
$(top_srcdir)/config/config.rpath \ |
... | ... |
@@ -18201,18 +18201,12 @@ fi |
18201 | 18201 |
|
18202 | 18202 |
|
18203 | 18203 |
if test "X$find_json" = "Xyes"; then |
18204 |
- LIBJSON_HOME=/usr/local |
|
18205 |
-fi |
|
18206 |
- |
|
18207 |
-if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
18208 |
- have_json_header="yes" |
|
18209 |
-else |
|
18210 |
- if test "X$find_json" = "Xyes"; then |
|
18211 |
- LIBJSON_HOME=/usr |
|
18212 |
- if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
18204 |
+ for p in /usr/local /usr ; do |
|
18205 |
+ if test -f "${p}/include/json/json.h" -o -f "${p}/include/json-c/json.h"; then |
|
18206 |
+ LIBJSON_HOME=$p |
|
18213 | 18207 |
have_json_header="yes" |
18214 | 18208 |
fi |
18215 |
- fi |
|
18209 |
+ done |
|
18216 | 18210 |
fi |
18217 | 18211 |
|
18218 | 18212 |
if test "X$have_json_header" = "Xyes"; then |
... | ... |
@@ -24711,17 +24705,12 @@ fi |
24711 | 24711 |
|
24712 | 24712 |
|
24713 | 24713 |
if test "X$find_curl" = "Xyes"; then |
24714 |
- LIBCURL_HOME=/usr/local |
|
24715 |
-fi |
|
24716 |
-if test -f "$LIBCURL_HOME/bin/curl-config"; then |
|
24717 |
- have_curl="yes" |
|
24718 |
-else |
|
24719 |
- if test "X$find_curl" = "Xyes"; then |
|
24720 |
- LIBCURL_HOME=/usr |
|
24721 |
- if test -f "$LIBCURL_HOME/bin/curl-config"; then |
|
24722 |
- have_curl="yes" |
|
24714 |
+ for p in /usr/local /usr ; do |
|
24715 |
+ if test -f "${p}/bin/curl-config"; then |
|
24716 |
+ LIBCURL_HOME=$p |
|
24717 |
+ have_curl="yes" |
|
24723 | 24718 |
fi |
24724 |
- fi |
|
24719 |
+ done |
|
24725 | 24720 |
fi |
24726 | 24721 |
|
24727 | 24722 |
if test "X$have_curl" = "Xyes"; then |
... | ... |
@@ -5755,8 +5755,8 @@ maintainer-clean-generic: |
5755 | 5755 |
@echo "This command is intended for maintainers to use" |
5756 | 5756 |
@echo "it deletes files that may require special tools to rebuild." |
5757 | 5757 |
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
5758 |
-@BUILD_EXTERNAL_LLVM_TRUE@distclean-local: |
|
5759 | 5758 |
@BUILD_EXTERNAL_LLVM_TRUE@clean-local: |
5759 |
+@BUILD_EXTERNAL_LLVM_TRUE@distclean-local: |
|
5760 | 5760 |
clean: clean-am |
5761 | 5761 |
|
5762 | 5762 |
clean-am: clean-generic clean-libtool clean-local \ |