~lefteris-nikoltsios/+junk/samba-lp1016895

« back to all changes in this revision

Viewing changes to lib/subunit/configure.ac

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
m4_define([SUBUNIT_MAJOR_VERSION], [0])
 
2
m4_define([SUBUNIT_MINOR_VERSION], [0])
 
3
m4_define([SUBUNIT_MICRO_VERSION], [6])
 
4
m4_define([SUBUNIT_VERSION],
 
5
m4_defn([SUBUNIT_MAJOR_VERSION]).m4_defn([SUBUNIT_MINOR_VERSION]).m4_defn([SUBUNIT_MICRO_VERSION]))
 
6
AC_PREREQ([2.59])
 
7
AC_INIT([subunit], [SUBUNIT_VERSION], [subunit-dev@lists.launchpad.net])
 
8
AC_CONFIG_SRCDIR([c/lib/child.c])
 
9
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
 
10
AC_CONFIG_MACRO_DIR([m4])
 
11
[SUBUNIT_MAJOR_VERSION]=SUBUNIT_MAJOR_VERSION
 
12
[SUBUNIT_MINOR_VERSION]=SUBUNIT_MINOR_VERSION
 
13
[SUBUNIT_MICRO_VERSION]=SUBUNIT_MICRO_VERSION
 
14
[SUBUNIT_VERSION]=SUBUNIT_VERSION
 
15
AC_SUBST([SUBUNIT_MAJOR_VERSION])
 
16
AC_SUBST([SUBUNIT_MINOR_VERSION])
 
17
AC_SUBST([SUBUNIT_MICRO_VERSION])
 
18
AC_SUBST([SUBUNIT_VERSION])
 
19
AC_USE_SYSTEM_EXTENSIONS
 
20
AC_PROG_CC
 
21
AC_PROG_CXX
 
22
AM_PROG_CC_C_O
 
23
AC_PROG_INSTALL
 
24
AC_PROG_LN_S
 
25
AC_PROG_LIBTOOL
 
26
AM_PATH_PYTHON
 
27
 
 
28
AS_IF([test "$GCC" = "yes"],
 
29
      [
 
30
  SUBUNIT_CFLAGS="-Wall -Werror -Wextra -Wstrict-prototypes "
 
31
  SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wmissing-prototypes -Wwrite-strings "
 
32
  SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wno-variadic-macros "
 
33
  SUBUNIT_CXXFLAGS="-Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-macros"
 
34
      ])
 
35
 
 
36
AM_CFLAGS="$SUBUNIT_CFLAGS -I\$(top_srcdir)/c/include"
 
37
AM_CXXFLAGS="$SUBUNIT_CXXFLAGS -I\$(top_srcdir)/c/include"
 
38
AC_SUBST(AM_CFLAGS)
 
39
AC_SUBST(AM_CXXFLAGS)
 
40
 
 
41
# Checks for libraries.
 
42
 
 
43
# Checks for header files.
 
44
AC_CHECK_HEADERS([stdlib.h])
 
45
 
 
46
# Checks for typedefs, structures, and compiler characteristics.
 
47
AC_C_CONST
 
48
AC_TYPE_PID_T
 
49
AC_TYPE_SIZE_T
 
50
AC_HEADER_TIME
 
51
AC_STRUCT_TM
 
52
 
 
53
AC_CHECK_SIZEOF(int, 4)
 
54
AC_CHECK_SIZEOF(short, 2)
 
55
AC_CHECK_SIZEOF(long, 4)
 
56
 
 
57
# Checks for library functions.
 
58
AC_FUNC_MALLOC
 
59
AC_FUNC_REALLOC
 
60
 
 
61
# Easier memory management.
 
62
# C unit testing.
 
63
PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
 
64
# C++ unit testing.
 
65
PKG_CHECK_MODULES([CPPUNIT], [cppunit])
 
66
 
 
67
# Output files
 
68
AC_CONFIG_HEADERS([config.h])
 
69
 
 
70
AC_CONFIG_FILES([libsubunit.pc
 
71
                 libcppunit_subunit.pc
 
72
                 Makefile
 
73
                 perl/Makefile.PL
 
74
                 ])
 
75
AC_OUTPUT