~ubuntu-branches/debian/sid/clamav/sid

« back to all changes in this revision

Viewing changes to m4/reorganization/llvm.m4

  • Committer: Package Import Robot
  • Author(s): Andreas Cadhalpun, Andreas Cadhalpun, Sebastian Andrzej Siewior, Frans Spiesschaert
  • Date: 2014-10-15 06:50:20 UTC
  • mfrom: (1.3.13) (42.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20141015065020-0cpy1hdueggaw35s
Tags: 0.98.5~rc1+dfsg-1
[ Andreas Cadhalpun ]
* Import new upstream release candidate.
* Drop patches included upstream and update the others.
* Add 4 new symbols to libclamav6.symbols.
* Fix debian/copyright.
* Update lintian overrides.
* Update Standards-Version to 3.9.6 (no changes needed).
* Add Breaks and Replaces for old clamd package to clamdscan.
* Remove unnecessary shlibs:Depends from clamav-dbg.
* Add patches to support LLVM 3.5.

[ Sebastian Andrzej Siewior ]
* Add embedded copy of libmspack to be used as fallback, when libmspack-dev
  is not available.

[ Frans Spiesschaert ]
* Updated Dutch Debconf template translation (Closes: #763634)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_ARG_WITH([system-llvm], AC_HELP_STRING([--with-system-llvm],
 
2
[Use system llvm instead of built-in, uses full path to llvm-config (default=
 
3
/usr/local or /usr if not found in /usr/local)]),
 
4
[case "$withval" in
 
5
  yes)
 
6
    system_llvm="default"
 
7
    ;;
 
8
  no)
 
9
    system_llvm="built-in"
 
10
    ;;
 
11
  *)
 
12
    system_llvm=$withval
 
13
 esac
 
14
], [system_llvm="built-in"])
 
15
 
1
16
AC_ARG_ENABLE([llvm],AC_HELP_STRING([--enable-llvm],
2
 
                                    [Enable 'llvm' JIT/verifier support @<:@default=auto@:>@]),
3
 
                                    [enable_llvm=$enableval], [enable_llvm="auto"])
 
17
[Enable 'llvm' JIT/verifier support @<:@default=auto@:>@]),
 
18
[enable_llvm=$enableval],
 
19
[
 
20
if test "x$system_llvm" != "xbuilt-in"; then
 
21
    enable_llvm="yes"
 
22
else
 
23
    enable_llvm="auto"
 
24
fi
 
25
])
4
26
 
5
27
if test "$enable_llvm" != "no"; then
6
28
    dnl Try to configure subdir, optionally
7
29
    AC_CONFIG_SUBDIRS_OPTIONAL([libclamav/c++])
 
30
else
 
31
    system_llvm="none"
8
32
fi