File: configure.ac

package info (click to toggle)
see 0.72-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,188 kB
  • sloc: ansic: 2,691; sh: 1,072; makefile: 47
file content (35 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (4)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.50])
AC_INIT(seetxt, 0.72, mk27@users.sourceforge.net)
AC_CONFIG_SRCDIR([src/main.h])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LN_S  # for ln -s (mandatory)

# Checks for libraries.
GTK_REQUIRED_VERSION=2.12.0

# Checks for header files.
AC_CHECK_HEADERS([dirent.h errno.h fcntl.h pthread.h stdlib.h string.h regex.h sys/socket.h sys/time.h time.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_FSEEKO
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([dup2 getcwd memset regcomp socket strcasecmp strchr strerror strrchr strstr strtol])

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT