-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.in
38 lines (31 loc) · 925 Bytes
/
configure.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(dedup, 1.3.0, [email protected])
AC_CONFIG_SRCDIR([src/dedup.c])
AC_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(dedup, 1.3.0)
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lz':
AC_CHECK_LIB([z], [inflate])
AC_CHECK_LIB([z], [deflate])
AC_PROG_RANLIB
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h getopt.h zlib.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_LSTAT
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset mkdir strdup])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT