... | ... |
@@ -563,7 +563,7 @@ pkgconfig_DATA = libclamav.pc |
563 | 563 |
# don't complain that configuration files and databases are not removed, this is intended |
564 | 564 |
distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print |
565 | 565 |
DISTCLEANFILES = target.h |
566 |
-DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) |
|
566 |
+DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes --with-system-llvm=no --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) |
|
567 | 567 |
all: clamav-config.h |
568 | 568 |
$(MAKE) $(AM_MAKEFLAGS) all-recursive |
569 | 569 |
|
... | ... |
@@ -18499,16 +18499,12 @@ $as_echo_n "checking pcre-config version... " >&6; } |
18499 | 18499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_version" >&5 |
18500 | 18500 |
$as_echo "$pcre_version" >&6; } |
18501 | 18501 |
|
18502 |
- case $host_os in |
|
18503 |
- darwin* ) |
|
18504 |
- pcrever_major=`echo "$pcre_version" | sed -Ee 's/([0-9]+).*/\1/'` |
|
18505 |
- pcrever_minor=`echo "$pcre_version" | sed -Ee 's/[0-9]+\.([0-9]+).*/\1/'` |
|
18506 |
- ;; |
|
18507 |
- *) |
|
18508 |
- pcrever_major=`echo "$pcre_version" | sed -re 's/([0-9]+).*/\1/'` |
|
18509 |
- pcrever_minor=`echo "$pcre_version" | sed -re 's/[0-9]+\.([0-9]+).*/\1/'` |
|
18510 |
- ;; |
|
18511 |
- esac |
|
18502 |
+ pcrever_prefix=`expr "$pcre_version" : '\([^0-9]*\)'` |
|
18503 |
+ pcrever_frag=${pcre_version:${#pcrever_prefix}} |
|
18504 |
+ |
|
18505 |
+ pcrever_major=`expr "$pcrever_frag" : '\([0-9]*\)'` |
|
18506 |
+ pcrever_frag=${pcrever_frag#*\.} |
|
18507 |
+ pcrever_major=`expr "$pcrever_frag" : '\([0-9]*\)'` |
|
18512 | 18508 |
|
18513 | 18509 |
if test "$pcrelib" = "pcre"; then |
18514 | 18510 |
if test $pcrever_major -lt 6; then |
... | ... |
@@ -5750,8 +5750,8 @@ maintainer-clean-generic: |
5750 | 5750 |
@echo "This command is intended for maintainers to use" |
5751 | 5751 |
@echo "it deletes files that may require special tools to rebuild." |
5752 | 5752 |
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
5753 |
-@BUILD_EXTERNAL_LLVM_TRUE@clean-local: |
|
5754 | 5753 |
@BUILD_EXTERNAL_LLVM_TRUE@distclean-local: |
5754 |
+@BUILD_EXTERNAL_LLVM_TRUE@clean-local: |
|
5755 | 5755 |
clean: clean-am |
5756 | 5756 |
|
5757 | 5757 |
clean-am: clean-generic clean-libtool clean-local \ |
... | ... |
@@ -16573,22 +16573,15 @@ subdirs="$subdirs llvm" |
16573 | 16573 |
|
16574 | 16574 |
fi |
16575 | 16575 |
|
16576 |
-llvmver_val=`echo "$llvmver" | sed -e 's/svn//g'` |
|
16576 |
+llvmver_prefix=`expr "$llvmver" : '\([^0-9]*\)'` |
|
16577 |
+llvmver_frag=${llvmver:${#llvmver_prefix}} |
|
16578 |
+ |
|
16579 |
+llvmver_major=`expr "$llvmver_frag" : '\([0-9]*\)'` |
|
16580 |
+llvmver_frag=${llvmver_frag#*\.} |
|
16581 |
+llvmver_minor=`expr "$llvmver_frag" : '\([0-9]*\)'` |
|
16582 |
+llvmver_frag=${llvmver_frag#*\.} |
|
16583 |
+llvmver_patch=`expr "$llvmver_frag" : '\([0-9]*\)'` |
|
16577 | 16584 |
|
16578 |
-case $host_os in |
|
16579 |
- darwin* ) |
|
16580 |
- llvmver_sval=`echo "$llvmver_val" | sed -Ee 's/[0-9]+//' | sed -e 's/^\.//'` |
|
16581 |
- llvmver_major=`echo "$llvmver_val" | sed -Ee 's/([0-9]+).*/\1/'` |
|
16582 |
- llvmver_minor=`echo "$llvmver_sval" | sed -Ee 's/([0-9]+).*/\1/'` |
|
16583 |
- llvmver_patch=`echo "$llvmver_sval" | sed -Ee 's/[0-9]+//' | sed -e 's/^\.//' | sed -Ee 's/([0-9]+).*/\1/'` |
|
16584 |
- ;; |
|
16585 |
- *) |
|
16586 |
- llvmver_sval=`echo "$llvmver_val" | sed -re 's/[0-9]+//' | sed -e 's/^\.//'` |
|
16587 |
- llvmver_major=`echo "$llvmver_val" | sed -re 's/([0-9]+).*/\1/'` |
|
16588 |
- llvmver_minor=`echo "$llvmver_sval" | sed -re 's/([0-9]+).*/\1/'` |
|
16589 |
- llvmver_patch=`echo "$llvmver_sval" | sed -re 's/[0-9]+//' | sed -e 's/^\.//' | sed -re 's/([0-9]+).*/\1/'` |
|
16590 |
- ;; |
|
16591 |
-esac |
|
16592 | 16585 |
llvmver_suffix= |
16593 | 16586 |
if test "x$llvmver_patch" = "x"; then |
16594 | 16587 |
llvmver_patch=0 |