~ubuntu-branches/ubuntu/precise/nbd/precise-security

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2011-06-21 19:17:59 UTC
  • mfrom: (1.1.17 upstream) (21.1.22 sid)
  • Revision ID: james.westby@ubuntu.com-20110621191759-5p1y2yyfat280oni
Tags: 1:2.9.22-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Use clean upstream tarball (nbd-2.9.22.tar.gz).
  - Drop /etc/modprobe.d/nbd-client; the kernel default is already
    appropriate. Ubuntu-specific change.
    + Modify debian/nbd-client.dirs
    + Remove debian/nbd-client.modprobe
    + Add debian/nbd-client.preinst

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl Configure script for NBD system
2
2
dnl (c) 1998 Martin Mares <mj@ucw.cz>, (c) 2000 Pavel Machek <pavel@ucw.cz>,
3
3
dnl (c) 2003-2006 Wouter Verhelst <wouter@debian.org>
4
 
AC_INIT([nbd],[2.9.21],[wouter@debian.org])
 
4
AC_INIT([nbd],[2.9.22],[wouter@debian.org])
5
5
AM_INIT_AUTOMAKE(foreign dist-bzip2)
6
6
AM_MAINTAINER_MODE
7
7
 
93
93
AC_CHECK_SIZEOF(unsigned int)
94
94
AC_CHECK_SIZEOF(unsigned long int)
95
95
AC_CHECK_SIZEOF(unsigned long long int)
96
 
AC_CHECK_FUNCS([llseek alarm gethostbyname inet_ntoa memset socket strerror strstr])
 
96
AC_CHECK_FUNCS([llseek alarm gethostbyname inet_ntoa memset socket strerror strstr mkstemp])
 
97
AC_CHECK_FUNC([sync_file_range],
 
98
        [AC_DEFINE([HAVE_SYNC_FILE_RANGE], [sync_file_range(2) is not supported], [sync_file_range(2) is supported])],
 
99
        [])
97
100
AC_FUNC_FORK
98
101
AC_FUNC_SETVBUF_REVERSED
99
102
AC_MSG_CHECKING(whether client should be built)
120
123
nbd_server_CPPFLAGS=$nbd_server_CPPFLAGS" -DSYSCONFDIR='\"$sysconfdir\"'"
121
124
AC_SUBST(nbd_server_CPPFLAGS)
122
125
AC_CONFIG_HEADERS([config.h])
123
 
AC_CONFIG_FILES([Makefile doc/Doxyfile man/Makefile man/nbd-client.8.sh man/nbd-server.5.sh man/nbd-server.1.sh])
 
126
AC_CONFIG_FILES([Makefile doc/Doxyfile man/Makefile man/nbd-client.8.sh man/nbd-server.5.sh man/nbd-server.1.sh man/nbd-trdump.1.sh])
124
127
AC_OUTPUT
125
128