996
|
1 # -*- Autoconf -*-
|
|
2 # Process this file with autoconf to produce a configure script.
|
|
3
|
|
4 AC_PREREQ(2.5)
|
|
5 AC_INIT([EgoBCh], [0.1], [])
|
|
6 AC_CONFIG_SRCDIR([src/egobch.h])
|
|
7 AC_CONFIG_AUX_DIR([scripts])
|
|
8 AM_INIT_AUTOMAKE()
|
|
9 AC_CONFIG_HEADER([config.h])
|
|
10
|
|
11 # Checks for programs.
|
|
12 AC_PROG_CC
|
|
13
|
|
14 # Checks for libraries.
|
|
15 # FIXME: Replace `main' with a function in `-lm':
|
|
16 AC_CHECK_LIB([m], [main])
|
|
17
|
|
18 # Checks for header files.
|
|
19 AC_HEADER_STDC
|
|
20 AC_CHECK_HEADERS([stdint.h stdlib.h string.h])
|
|
21
|
|
22 # Checks for typedefs, structures, and compiler characteristics.
|
|
23
|
|
24 # Checks for library functions.
|
|
25 AC_CHECK_FUNCS([memset])
|
|
26
|
|
27 AC_CONFIG_FILES([Makefile
|
|
28 src/Makefile])
|
|
29 AC_OUTPUT
|