~ubuntu-branches/ubuntu/saucy/blam/saucy

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Adrien Cunin
  • Date: 2007-02-02 00:37:16 UTC
  • mfrom: (1.1.4 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070202003716-63fv2k0ztk04bjq9
Tags: 1.8.4-0ubuntu1
* Sync with Debian unstable
* New upstream release
* Added build-dependency on gnome-sharp2
* debian/patches/01_correct_default_theme.patch: dropped, included upstream
* Re-added the following Ubuntu changes:
   - Build-Depends on firefox-dev instead of libxul-dev
   - debian/patches/PlanetUbuntu.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_INIT(README)
2
2
AC_CANONICAL_SYSTEM
3
 
AM_INIT_AUTOMAKE(blam, 1.8.2)
 
3
AM_INIT_AUTOMAKE(blam, 1.8.4)
4
4
AM_CONFIG_HEADER(config.h)
5
5
 
6
6
AM_MAINTAINER_MODE
23
23
fi
24
24
 
25
25
AC_PATH_PROG(MCS, mcs)
 
26
AC_PATH_PROG(GMCS, gmcs)
 
27
if test "x$GMCS" != "x" ; then
 
28
   MCS=$GMCS
 
29
fi
 
30
 
26
31
if test "x$MCS" = "x" ; then
27
 
  AC_MSG_ERROR([Can't find "mcs" in your PATH])
 
32
  AC_MSG_ERROR([Can't find "mcs" or "gmcs" in your PATH])
28
33
fi
29
34
 
30
 
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
31
 
if test "x$PKG_CONFIG" = "xno"; then
32
 
        AC_MSG_ERROR([You need to install pkg-config])
33
 
fi
34
 
    
35
35
AC_SUBST(PATH)
36
36
AC_SUBST(LD_LIBRARY_PATH)
37
37
 
44
44
fi
45
45
 
46
46
dnl Find mono
47
 
MONO_REQUIRED_VERSION=1.1.10
 
47
MONO_REQUIRED_VERSION=1.1.17
48
48
GTKSHARP_REQUIRED_VERSION=2.8.2
49
49
GCONF_REQUIRED_VERSION=2.4
50
50
GECKOSHARP_REQUIRED_VERSION=0.11
78
78
 
79
79
MOZILLA=
80
80
AC_ARG_WITH([mozilla],
81
 
        AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird@:>@],
82
 
                       [Whether to use mozilla, firefox or thunderbird gtkmozembed (default: mozilla)]),
 
81
        AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird|xulrunner|seamonkey@:>@],
 
82
                       [Whether to use mozilla, firefox, thunderbird, xulrunner or seamonkey gtkmozembed (default: mozilla)]),
83
83
        [MOZILLA="$withval"])
84
84
 
85
 
dnl try to autodetect: if mozilla exists, use it, else try firefox, then thunderbird
 
85
dnl try to autodetect: if mozilla exists, use it, else try firefox, then thunderbird, then the rest
86
86
if test "x$MOZILLA" = "x"; then
87
87
  if pkg-config --exists mozilla-gtkmozembed; then
88
88
    MOZILLA=mozilla
90
90
    MOZILLA=firefox
91
91
  elif pkg-config --exists thunderbird-gtkmozembed; then
92
92
    MOZILLA=thunderbird
 
93
elif pkg-config --exists xulrunner-gtkmozembed; then
 
94
    MOZILLA=xulrunner
 
95
elif pkg-config --exists seamonkey-gtkmozembed; then
 
96
    MOZILLA=seamonkey
93
97
  else
94
98
    AC_MSG_ERROR([no mozilla installation found])
95
99
  fi
96
 
elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xthunderbird"; then
 
100
elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xthunderbird"-a "x$with_mozilla" != "xxulrunner"-a "x$with_mozilla" != "xseamonkey"; then
97
101
  AC_MSG_ERROR([unknown mozilla name ($MOZILLA)])
98
102
fi
99
103
 
105
109
mozilla) min_version=1.7 flavour=mozilla ;;
106
110
firefox) min_version=0.10 flavour=toolkit ;;
107
111
thunderbird) min_version=0.8 flavour=toolkit ;;
 
112
xulrunner) min_version=1.8 flavour=toolkit ;;
 
113
seamonkey) min_version=1.0 flavour=mozilla ;;
108
114
esac
109
115
 
110
116
MOZILLA_FLAVOUR=$flavour
226
232
 
227
233
 
228
234
dnl Intl
229
 
ALL_LINGUAS="bg bs ca cs da de el en_CA en_GB es eu fi fr ga gu he hr hu it lt ja nb ne nl pa pl pt_BR pt ru rw sk sq sr@Latn sr sv tr uk vi zh_CN zh_HK zh_TW"
 
235
ALL_LINGUAS="bg bs ca cs da de el en_CA en_GB es eu fi fr ga gu he hr hu it lt lv ja nb ne nl pa pl pt_BR pt ru rw sk sq sr@Latn sr sv tr uk vi zh_CN zh_HK zh_TW"
230
236
GETTEXT_PACKAGE=blam
231
237
AC_SUBST(GETTEXT_PACKAGE)
232
238
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])