~ubuntu-branches/ubuntu/natty/clamav/natty-updates

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-18 09:37:17 UTC
  • mfrom: (106.1.2 natty-security)
  • Revision ID: package-import@ubuntu.com-20120618093717-gt68g48o1sx865pc
Tags: 0.97.5+dfsg-1ubuntu0.11.04.1
* SECURITY UPDATE: Updated to 0.97.5 to fix multiple security issues with
  malformed files.
  - CVE-2012-1457
  - CVE-2012-1458
  - CVE-2012-1459

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
AC_PREREQ([2.59])
21
21
dnl For a release change [devel] to the real version [0.xy]
22
22
dnl also change VERSION below
23
 
AC_INIT([ClamAV], [0.97.3], [http://bugs.clamav.net/], [clamav], [http://www.clamav.net/])
 
23
AC_INIT([ClamAV], [0.97.5], [http://bugs.clamav.net/], [clamav], [http://www.clamav.net/])
24
24
 
25
25
AH_BOTTOM([#include "platform.h"])
26
26
dnl put configure auxiliary into config
43
43
 
44
44
dnl change this on a release
45
45
dnl VERSION="devel-`date +%Y%m%d`"
46
 
VERSION="0.97.3"
 
46
VERSION="0.97.5"
47
47
 
48
48
LC_CURRENT=7
49
 
LC_REVISION=12
 
49
LC_REVISION=14
50
50
LC_AGE=1
51
51
LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"
52
52
AC_SUBST([LIBCLAMAV_VERSION])
120
120
if test "x$ac_compiler_gnu" = "xyes"; then
121
121
        gcc_version=`${CC} -dumpversion`
122
122
        case "${gcc_version}" in
123
 
                4.[[3456789]].*)
 
123
                4.[[3456789]]*)
124
124
                        distcheck_enable_flags=1
125
125
                        ;;
126
126
                [[56789]].*)
1044
1044
    AC_DEFINE([C_BSD],1,[os is bsd flavor])
1045
1045
    AC_DEFINE([C_DARWIN],1,[os is darwin])
1046
1046
    AC_DEFINE([BIND_8_COMPAT],1,[enable bind8 compatibility])
 
1047
    AC_DEFINE([CLAMAUTH],1,[enable ClamAuth])
1047
1048
    use_netinfo="yes"
1048
1049
    ;;
1049
1050
os2*)
1069
1070
        TH_SAFE="-thread-safe"
1070
1071
    fi
1071
1072
    AC_DEFINE([C_HPUX],1,[os is hpux])
 
1073
    if test "$have_mempool" = "yes"; then
 
1074
        LDFLAGS="$LDFLAGS -Wl,+pd,1M"
 
1075
    fi
1072
1076
    ;;
1073
1077
aix*)
1074
1078
    if test "$have_pthreads" = "yes"; then
1596
1600
# configure think that -lm doesn't have cos, hence its in libc).
1597
1601
if test "x$enable_distcheckwerror" = "xyes"; then
1598
1602
    if test "$distcheck_enable_flags" = "1"; then
1599
 
        CFLAGS="$CFLAGS -Wno-pointer-sign -Werror-implicit-function-declaration -Werror -Wextra -Wall -Wno-error=bad-function-cast -Wbad-function-cast -Wcast-align -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wno-error=missing-prototypes -Wnested-externs -Wno-error=nested-externs -Wpointer-arith -Wstrict-prototypes -Wno-error=strict-prototypes -Wno-switch -Wno-switch-enum -Wundef -Wwrite-strings -Wstrict-overflow=1 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wdeclaration-after-statement -Waggregate-return -Wmissing-format-attribute -Wno-error=missing-format-attribute -Wno-error=type-limits -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=unused-variable -Wcast-qual -Wno-error=cast-qual -Wno-error=sign-compare -Wshadow -Wno-error=shadow -Wno-error=uninitialized -fdiagnostics-show-option -Wno-unused-parameter -Wno-error=unreachable-code -Winvalid-pch -Wno-error=invalid-pch -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -Wno-error=aggregate-return"
 
1603
        CFLAGS="$CFLAGS -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-error=strict-aliasing -Werror -Wextra -Wall -Wno-error=bad-function-cast -Wbad-function-cast -Wcast-align -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wno-error=missing-prototypes -Wnested-externs -Wno-error=nested-externs -Wpointer-arith -Wstrict-prototypes -Wno-error=strict-prototypes -Wno-switch -Wno-switch-enum -Wundef -Wwrite-strings -Wstrict-overflow=1 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wdeclaration-after-statement -Waggregate-return -Wmissing-format-attribute -Wno-error=missing-format-attribute -Wno-error=type-limits -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=unused-variable -Wcast-qual -Wno-error=cast-qual -Wno-error=sign-compare -Wshadow -Wno-error=shadow -Wno-error=uninitialized -fdiagnostics-show-option -Wno-unused-parameter -Wno-error=unreachable-code -Winvalid-pch -Wno-error=invalid-pch -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -Wno-error=aggregate-return"
1600
1604
    fi
1601
1605
fi
1602
1606