~ubuntu-branches/ubuntu/precise/enigmail/precise-updates

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2015-08-26 20:08:27 UTC
  • mfrom: (0.12.19)
  • Revision ID: package-import@ubuntu.com-20150826200827-hcdgxjl17bc6gwu1
Tags: 2:1.8.2-0ubuntu0.12.04.1
* New upstream release v1.8.2 to support Thunderbird 38
  - Fixes LP: #1489103 - Per-account settings missing after Thunderbird
    update

* Depend on gnupg2 instead of gnupg. Whilst this enigmail version still
  works with gnupg 1.4.*, it pops up an alert warning that it will be the
  last version to do so
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
AC_PREREQ(2.61)
3
3
min_automake_version="1.10"
4
4
 
5
 
AC_INIT([enigmail],[1.7.2], [https://www.enigmail.net])
6
 
 
7
 
 
8
 
AC_PATH_PROG(PYTHON, "python")
9
 
if test "x$PYTHON" = "x" ; then
10
 
  AC_MSG_ERROR([[python not found.]])
11
 
fi
 
5
AC_INIT([enigmail],[1.8], [https://www.enigmail.net])
 
6
 
 
7
 
 
8
AC_PATH_PROG(PYTHON, "python2")
 
9
 
 
10
# fallback to python if python2 does not exist
 
11
if test "x$PYTHON" = "x" ; then
 
12
  AC_PATH_PROG(PYTHON, "python")
 
13
fi
 
14
 
 
15
if test "x$PYTHON" = "x" ; then
 
16
  AC_MSG_ERROR([[python2 or python not found.]])
 
17
fi
 
18
 
12
19
 
13
20
AC_PATH_PROG(PERL,"perl")
14
21
if test "x$PERL" = "x" ; then
22
29
 
23
30
AC_CANONICAL_TARGET
24
31
 
 
32
# Enable running of unit test during build
 
33
#
 
34
AC_ARG_ENABLE(tests,
 
35
    AC_HELP_STRING([--enable-tests],[run unit tests during build process]),
 
36
    enable_tests=$enableval)
 
37
 
 
38
# Disable creation of languages other than en-US (for submitting to babelzilla)
 
39
#
 
40
AC_ARG_ENABLE(lang,
 
41
    AC_HELP_STRING([--disable-lang],[disable creation of locales other than en-US]),
 
42
    enable_lang=$enableval,
 
43
    enable_lang=yes
 
44
    )
 
45
 
 
46
 
25
47
changequote(,)dnl
26
48
BUILD_OS_ARCH=`$PERL config/getOsTarget.pl -o "$target_os" "$target_cpu" "$CC"`
27
49
BUILD_TARGET_CPU=`$PERL config/getOsTarget.pl -c "$target_os" "$target_cpu" "$CC"`
33
55
AC_SUBST(BUILD_TARGET_CPU)
34
56
AC_SUBST(DLL_PREFIX)
35
57
AC_SUBST(DLL_SUFFIX)
 
58
AC_SUBST(enable_tests)
 
59
AC_SUBST(enable_lang)
 
60
 
 
61
 
 
62
AC_ARG_WITH(tb-path,
 
63
        [  --with-tb-path=/path/to/thunderbird  set the path to an installed Thunderbird],
 
64
        [if test "$withval" = yes ; then
 
65
           withval=no
 
66
        elif test "$withval" != no ; then
 
67
           TB_PATH="$withval"
 
68
        fi],withval=no)
 
69
 
 
70
AC_SUBST(TB_PATH)
 
71
 
 
72
AC_ARG_WITH(tb-args,
 
73
        [  --with-tb-args="-P profilename"  set additional arguments for Thunderbird],
 
74
        [if test "$withval" = yes ; then
 
75
           withval=no
 
76
        elif test "$withval" != no ; then
 
77
           TB_ARGS="$withval"
 
78
        fi],withval=no)
 
79
 
 
80
AC_SUBST(TB_ARGS)
 
81
 
 
82
 
 
83
AC_ARG_ENABLE(fix-lang,
 
84
    AC_HELP_STRING([--disable-fix-lang],[disable replacing of missing strings in localizations with en-US]),
 
85
    enable_fix_lang=$enableval,
 
86
    enable_fix_lang=yes
 
87
    )
 
88
 
 
89
AC_SUBST(enable_fix_lang)
36
90
 
37
91
AC_CONFIG_FILES([config/autoconf.mk])
38
92