File: configure.ac

package info (click to toggle)
pullseq 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 5,376 kB
  • sloc: ansic: 2,583; sh: 148; ruby: 21; makefile: 16
file content (40 lines) | stat: -rw-r--r-- 927 bytes parent folder | download
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
39
40
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([pullseq], [1.0.1], [bct.x42@gmail.com])
#AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_SRCDIR([src/pullseq.c])
AC_CONFIG_HEADERS([src/config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.
AC_CHECK_LIB([z],[gzopen])
AC_CHECK_LIB([pcre],[pcre_compile])

# Checks for header files.
AC_CHECK_HEADERS([inttypes.h limits.h stddef.h stdlib.h string.h])
AC_CHECK_HEADERS([pcre.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T
AC_CHECK_TYPES([ptrdiff_t])

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([strlen memset strchr strerror strtol])


AC_CONFIG_FILES([Makefile src/Makefile])

AC_OUTPUT