~ubuntu-branches/ubuntu/jaunty/isdnutils/jaunty-proposed

« back to all changes in this revision

Viewing changes to avmb1/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2004-09-04 08:20:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040904082020-g641px056lshw203
Tags: 1:3.3.0.20040728-2
* Put libcapi20 development files into new libcapi20-dev package,
  change libcapi20 soname to libcapi20-3, conflict with existing
  versions of packages depending on libcapi20-3 (closes: #268767).
* Update debconf translation strings (closes: #268716).
* Update french debconf translation (closes: #269666).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
CONFIG_DATADIR=${CONFIG_DATADIR:-"/usr/lib/isdn"}
12
12
CONFIG_MANDIR=`eval echo ${CONFIG_MANDIR:-"/usr/man"}`
13
13
CONFIG_SBINDIR=`eval echo ${CONFIG_SBINDIR:-"/sbin"}`
14
 
CONFIG_KERNELDIR=`eval echo ${CONFIG_KERNELDIR:-"/usr/src/linux"}`
15
14
MANDATE=`grep CHECKIN avmcapictrl.man.in | awk '{print $4}'`
16
15
 
17
16
dnl Checks for libraries.
19
18
dnl Checks for header files.
20
19
AC_HEADER_STDC
21
20
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)
22
 
dnl Check for kernel stuff
23
 
AC_FIND_KERNEL
24
 
OLD_CPPFLAGS="$CPPFLAGS"
25
 
CPPFLAGS="-I$CONFIG_KERNELDIR/include $CPPFLAGS"
26
 
AC_CHECK_HEADERS(linux/isdn.h linux/b1lli.h linux/capi.h linux/kernelcapi.h,,
27
 
        AC_MSG_ERROR("Missing $ac_hdr. Kernel source installed?"))
28
 
CPPFLAGS="$OLD_CPPFLAGS"
29
21
 
30
22
dnl Checks for typedefs, structures, and compiler characteristics.
31
23
 
60
52
AC_SUBST(CONFIG_SBINDIR)
61
53
AC_SUBST(CONFIG_DATADIR)
62
54
AC_SUBST(CONFIG_MANDIR)
63
 
AC_SUBST(CONFIG_KERNELDIR)
64
55
AC_OUTPUT(Makefile avmcapictrl.man)