~ubuntu-branches/ubuntu/lucid/vinagre/lucid

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-02-09 16:25:33 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100209162533-7p06h6l947irsdyp
Tags: 2.29.90-0ubuntu1
* New upstream release:
 - Features
   + Improved SSH tunneling.
   + Show a message in the first run explaining menu accelerators and
     keyboard shortcuts behavior in Vinagre.
   + Store window size, position, panel state, etc in the XDG_CACHE_DIR
     instead of GConf.
   + Enable the username field for SSH connections.
   + Option to keep the aspect ratio when using scaling.
   + Modernize autotools.
   + SSH plugin uses the username provided from mdns (Avahi).
 - Fixes
   + Fix build on Solaris (Halton Huo).
   + Drop 1px line at toolbar in fullscreen mode.
   + Minor fixes
 - UI translations
* debian/control.in:
  - bump intltool build-dep
  - libx11-dev and libdbus-glib-1-dev build-dep

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Process this file with autoconf to produce a configure script.
2
 
 
3
 
AC_INIT(vinagre, 2.29.6, http://projects.gnome.org/vinagre/)
 
1
# Vinagre autoconf
 
2
 
 
3
AC_PREREQ([2.64])
 
4
AC_INIT([vinagre],[2.29.90],[https://bugzilla.gnome.org/enter_bug.cgi?product=vinagre],[vinagre],[http://projects.gnome.org/vinagre/])
 
5
AC_CONFIG_SRCDIR([vinagre/vinagre-main.c])
 
6
AC_CONFIG_HEADERS([config.h])
 
7
 
 
8
# Checks for programs.
 
9
AC_PROG_CXX
 
10
AC_PROG_AWK
 
11
AC_PROG_CC
 
12
AC_PROG_CPP
 
13
AC_PROG_INSTALL
 
14
AC_PROG_LN_S
 
15
AC_PROG_MAKE_SET
 
16
AC_PROG_RANLIB
 
17
 
 
18
# Checks for header files.
 
19
AC_PATH_X
 
20
AC_CHECK_HEADERS([sys/uio.h sys/param.h sys/un.h arpa/inet.h stropts.h fcntl.h limits.h locale.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h termios.h unistd.h utmp.h])
 
21
 
 
22
# Checks for typedefs, structures, and compiler characteristics.
 
23
AC_C_INLINE
 
24
AC_TYPE_PID_T
 
25
AC_TYPE_SIZE_T
 
26
AC_TYPE_SSIZE_T
 
27
AC_TYPE_UINT64_T
 
28
 
 
29
# Checks for library functions.
 
30
AC_FUNC_FORK
 
31
AC_FUNC_MALLOC
 
32
AC_CHECK_FUNCS([dup2 memset putenv select setlocale socket strchr strerror strstr getpt posix_openpt grantpt unlockpt ptsname ptsname_r])
 
33
 
 
34
AM_INIT_AUTOMAKE([1.10 -Wno-portability])
 
35
LT_PREREQ([2.2.6])
 
36
AC_CONFIG_MACRO_DIR([m4])
 
37
 
 
38
GNOME_COMPILE_WARNINGS([maximum])
 
39
GNOME_CXX_WARNINGS([yes])
 
40
GNOME_MAINTAINER_MODE_DEFINES
4
41
 
5
42
VINAGRE_API_VERSION=1.0
6
43
AC_SUBST(VINAGRE_API_VERSION)
7
44
 
8
 
AM_INIT_AUTOMAKE(-Wno-portability)
9
 
AM_CONFIG_HEADER(config.h)
10
45
AM_MAINTAINER_MODE
11
46
 
12
47
# Use the silent-rules feature when possible.
15
50
dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
16
51
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
17
52
 
18
 
AC_ISC_POSIX
 
53
AC_SEARCH_LIBS([strerror],[cposix])
19
54
AC_PROG_CC
20
 
AM_PROG_CC_STDC
21
55
AC_HEADER_STDC
22
 
AM_DISABLE_STATIC
23
 
AM_PROG_LIBTOOL
 
56
 
 
57
LT_INIT([disable-static])
24
58
AM_PROG_CC_C_O
25
59
 
26
 
GNOME_COMPILE_WARNINGS(yes)
27
 
 
28
60
#*******************************************************************************
29
61
# Internationalization
30
62
#*******************************************************************************
32
64
AC_SUBST(GETTEXT_PACKAGE)
33
65
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
34
66
 
35
 
IT_PROG_INTLTOOL([0.35.0])
 
67
IT_PROG_INTLTOOL([0.40.0])
36
68
AM_GLIB_GNU_GETTEXT
37
69
 
38
70
GNOME_DOC_INIT
54
86
 
55
87
# Check for avahi
56
88
AC_ARG_ENABLE(avahi,
57
 
              AC_HELP_STRING([--disable-avahi],
58
 
                             [Do not use avahi for auto-discover machines [default=no]]),
 
89
              AS_HELP_STRING([--disable-avahi],[Do not use avahi for auto-discover machines [default=no]]),
59
90
              enable_avahi=${enableval},
60
91
              enable_avahi=yes)
61
92
 
77
108
  gconf-2.0 >= $GCONF_REQUIRED \
78
109
  gthread-2.0 >= $GTHREAD_REQUIRED \
79
110
  gnome-keyring-1 \
80
 
  libxml-2.0 >= $XML_REQUIRED
 
111
  libxml-2.0 >= $XML_REQUIRED \
 
112
  dbus-glib-1 \
 
113
  x11
81
114
)
82
115
AC_SUBST(VINAGRE_CFLAGS)
83
116
AC_SUBST(VINAGRE_LIBS)
93
126
dnl *** Checks for pty stuff ***
94
127
dnl ****************************
95
128
 
96
 
AC_CHECK_HEADERS(sys/un.h stropts.h termios.h utmp.h sys/uio.h sys/param.h)
97
 
 
98
 
# Check for PTY handling functions.
99
 
AC_CHECK_FUNCS(getpt posix_openpt grantpt unlockpt ptsname ptsname_r)
100
 
 
101
129
# Pull in the right libraries for various functions which might not be
102
130
# bundled into an exploded libc.
103
131
AC_CHECK_FUNC(socketpair,[have_socketpair=1],AC_CHECK_LIB(socket,socketpair,[have_socketpair=1; LIBS="$LIBS -lsocket"]))
193
221
# Plugins
194
222
#*******************************************************************************
195
223
#
 
224
dnl ****************************
 
225
dnl *** Checks for ifaddrs.h ***
 
226
dnl ****************************
 
227
AC_CHECK_HEADER(ifaddrs.h)
 
228
AM_CONDITIONAL(SELF_IFADDRS, test "x$ac_cv_header_ifaddrs_h" != "xyes")
 
229
 
196
230
dnl active plugins for vinagre.schemas
197
231
ACTIVE_PLUGINS="vnc"
198
232
if test "x$enable_ssh" = "xyes" ; then
215
249
AC_SUBST(VINAGRE_PLUGINS_LIBS_DIR)
216
250
 
217
251
#*******************************************************************************
218
 
AC_OUTPUT([
 
252
AC_CONFIG_FILES([
219
253
Makefile
220
254
data/Makefile
221
255
data/vinagre.desktop.in
233
267
vinagre/Makefile
234
268
vinagre/view/Makefile
235
269
])
 
270
AC_OUTPUT
236
271
 
237
272
#*******************************************************************************
238
273