File: configure.ac

package info (click to toggle)
xtermcontrol 2.9-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 588 kB
  • ctags: 188
  • sloc: ansic: 2,140; sh: 784; makefile: 86
file content (32 lines) | stat: -rw-r--r-- 834 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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT(xtermcontrol, 2.9, )
AC_CONFIG_SRCDIR([src/xtermcontrol.c])
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE

XTC_PACKAGE_DATE

# Checks for programs.
AC_PROG_CC

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h libintl.h stdlib.h string.h strings.h termios.h unistd.h wchar.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset regcomp strchr strrchr strstr])
AC_CHECK_FUNC([snprintf], [], AC_MSG_ERROR([required function missing]))

AC_CONFIG_FILES([Makefile
                 doc/Makefile
                 src/Makefile
                 tests/Makefile])
AC_OUTPUT