~ubuntu-branches/ubuntu/oneiric/fuse-umfuse-iso9660/oneiric

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2007-02-14 01:49:50 UTC
  • Revision ID: james.westby@ubuntu.com-20070214014950-3qoc7wk33ijtk0yi
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#                                               -*- Autoconf -*-
 
2
# Process this file with autoconf to produce a configure script.
 
3
 
 
4
AC_PREREQ(2.60)
 
5
AC_INIT([fuse-umfuse-iso9660], [0.1], [osd@cs.unibo.it])
 
6
AM_INIT_AUTOMAKE([foreign dist-bzip2 1.10])
 
7
AC_CONFIG_SRCDIR([fuseiso9660.c])
 
8
AC_CONFIG_HEADER([config.h])
 
9
 
 
10
# Checks for programs.
 
11
AC_PROG_CC
 
12
AC_PROG_LIBTOOL
 
13
 
 
14
# Checks for libraries.
 
15
AC_CHECK_LIB([fuse], [fuse_main],,
 
16
    [AC_MSG_ERROR([Can't find libfuse, please install it])])
 
17
AC_CHECK_LIB([iso9660], [iso9660_open_ext],,
 
18
    [AC_MSG_ERROR([Can't find libiso9660, please install it])])
 
19
AC_CHECK_LIB([z], [uncompress],,
 
20
    [AC_MSG_ERROR([Can't find zlib, please install it])])
 
21
AC_CHECK_LIB([umlib], [um_add_service],,
 
22
    [AC_MSG_ERROR([Can't find libumlib, please install it])])
 
23
 
 
24
# Checks for header files.
 
25
AC_HEADER_DIRENT
 
26
AC_HEADER_STDC
 
27
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/statvfs.h unistd.h])
 
28
 
 
29
# Checks for typedefs, structures, and compiler characteristics.
 
30
AC_C_CONST
 
31
AC_TYPE_UID_T
 
32
AC_TYPE_MODE_T
 
33
AC_TYPE_OFF_T
 
34
AC_TYPE_SIZE_T
 
35
AC_CHECK_MEMBERS([struct stat.st_blksize])
 
36
AC_STRUCT_ST_BLOCKS
 
37
AC_CHECK_MEMBERS([struct stat.st_rdev])
 
38
AC_STRUCT_TM
 
39
AC_HEADER_STDBOOL
 
40
AC_TYPE_UINT16_T
 
41
 
 
42
# Checks for library functions.
 
43
AC_FUNC_MALLOC
 
44
AC_FUNC_MEMCMP
 
45
AC_FUNC_MKTIME
 
46
AC_FUNC_UTIME_NULL
 
47
AC_CHECK_FUNCS([lchown memset mkdir rmdir utime])
 
48
 
 
49
AC_CONFIG_FILES([Makefile])
 
50
AC_OUTPUT