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

« back to all changes in this revision

Viewing changes to autoconf/gettext-macros/codeset.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
 
# codeset.m4 serial AM1 (gettext-0.10.40)
2
 
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
3
 
dnl This file is free software; the Free Software Foundation
4
 
dnl gives unlimited permission to copy and/or distribute it,
5
 
dnl with or without modifications, as long as this notice is preserved.
6
 
 
7
 
dnl From Bruno Haible.
8
 
 
9
 
AC_DEFUN([AM_LANGINFO_CODESET],
10
 
[
11
 
  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
12
 
    [AC_TRY_LINK([#include <langinfo.h>],
13
 
      [char* cs = nl_langinfo(CODESET);],
14
 
      am_cv_langinfo_codeset=yes,
15
 
      am_cv_langinfo_codeset=no)
16
 
    ])
17
 
  if test $am_cv_langinfo_codeset = yes; then
18
 
    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
19
 
      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
20
 
  fi
21
 
])