~ubuntu-branches/ubuntu/trusty/burp/trusty-proposed

« back to all changes in this revision

Viewing changes to autoconf/gnome-macros/gnome-gnorba-check.m4

  • Committer: Package Import Robot
  • Author(s): Bastiaan Franciscus van den Dikkenberg
  • Date: 2014-03-03 15:54:28 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140303155428-x6fsfsl0ckj3p6za
Tags: 1.3.48-2
* Add patch to fix pointer casting in src/msg.c:transfer_gzfile_in
  to fix FTBFS on 64-bit big-endian architectures (Closes: #740505):
  - debian/patches/endian.patch
* Replace debian/patches/disable_tests.patch with debian/patches/fixskiptest,
  so that only test 6 and 7 are skipped when there is no PRNG available.
* Add patch for the test function wait_for_backup_to_finish to check
  for the existance of /var/spool/burp/testclient/lockfile instead
  of the symlinks /var/spool/burp/testclient/{working,finishing}
  (Closes: #740547):
  - debian/patches/wait_for_backup_to_finish.patch
* Now using autoreconf for better portability:
  - Change dh $@ to dh $@ --with autoreconf in debian/rules file.
  - Add dependency on dh-autoreconf in debian/control.
* Change dh_verbose to 1 to solve compiler-flags-hidden warnings in
  debian/rules file.
* Remove obsolete overrides in rules file:
  - override_dh_auto_install
  - override_dh_install
  - override_dh_installdocs
* Using dh_auto_configure instead of just running ./configure with the
  following options in debian/rules:
  - prefix /usr
  - sysconfdir /etc/burp
  - sbindir $${prefix}/sbin
  - mandir $${prefix}/share/man
  - C/CPP/LD flags uses exported build flags
* Add debian/burp.install and debian/burp.dirs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl
2
 
dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
3
 
dnl
4
 
dnl if failflag is "failure" it aborts if gnorba is not found.
5
 
dnl
6
 
 
7
 
AC_DEFUN([GNOME_GNORBA_HOOK],[
8
 
        GNOME_ORBIT_HOOK([],$2)
9
 
        AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
10
 
                gnome_cv_gnorba_found=no
11
 
                if test x$gnome_cv_orbit_found = xyes; then
12
 
                        GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
13
 
                        GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
14
 
                        if test -n "$GNORBA_LIBS"; then
15
 
                                gnome_cv_gnorba_found=yes
16
 
                        fi
17
 
                fi
18
 
        ])
19
 
        AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
20
 
        if test x$gnome_cv_orbit_found = xyes; then
21
 
                $1
22
 
                GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
23
 
                GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
24
 
                AC_SUBST(GNORBA_CFLAGS)
25
 
                AC_SUBST(GNORBA_LIBS)
26
 
        else
27
 
                if test x$2 = xfailure; then
28
 
                        AC_MSG_ERROR(gnorba library not installed or installation problem)
29
 
                fi
30
 
        fi
31
 
])
32
 
 
33
 
AC_DEFUN([GNOME_GNORBA_CHECK], [
34
 
        GNOME_GNORBA_HOOK([],failure)
35
 
])