File: configure.ac

package info (click to toggle)
libcrypto%2B%2B 5.6.1-6%2Bdeb8u3
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 5,604 kB
  • ctags: 12,555
  • sloc: cpp: 55,900; asm: 3,521; makefile: 402
file content (44 lines) | stat: -rw-r--r-- 1,249 bytes parent folder | download | duplicates (3)
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
41
42
43
44
# -*- autoconf -*-
# Process this file with autoconf to produce a configure script.
# Written by Jens Peter Secher <jps@debian.org>.

AC_INIT([Crypto++], [5.6.1], [libcrypto++@bugs.debian.org])
AC_CONFIG_SRCDIR([cryptlib.h])
AC_CONFIG_HEADERS([cryptopp_config.h])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_LN_S
AC_PROG_LIBTOOL

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h malloc.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_CHECK_TYPES([ptrdiff_t])
AC_C_BIGENDIAN(
	AC_DEFINE(IS_BIG_ENDIAN, [], [Big-endian architecture]),
	AC_DEFINE(IS_LITTLE_ENDIAN, [], [Little-endian architecture]),
	AC_MSG_ERROR([Can't tell endianess of platform]))

# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gethostbyname gettimeofday memmove memset pow select socket])

AC_CONFIG_FILES([Makefile libcrypto++.pc])
AC_CONFIG_MACRO_DIR([m4])
AC_OUTPUT