blob: 5a9bada5e7f76bd4bed99c94a73a2bc2e757d30e [file] [log] [blame]
Austin Schuh405fa6c2015-09-06 18:13:55 -07001dnl Process this file with autoconf to produce a configure script.
2AC_INIT
3
4dnl Init automake.
5AM_INIT_AUTOMAKE(cddlib, 0.94)
6
7dnl Checks for programs.
8AC_PROG_CC
9AC_PROG_INSTALL
10LT_INIT
11
12dnl Checks for libraries.
13dnl Replace `main' with a function in -lg:
14dnl AC_CHECK_LIB(g, main)
15dnl Replace `main' with a function in -lstdc:
16dnl AC_CHECK_LIB(stdc, main)
17dnl look for gmp:
18AC_CHECK_LIB(gmp, main)
19
20dnl Checks for header files.
21AC_HEADER_STDC
22
23dnl Checks for typedefs, structures, and compiler characteristics.
24AC_C_CONST
25
26dnl Checks for library functions.
27
28AC_CONFIG_FILES([lib-src/Makefile src/Makefile lib-src-gmp/Makefile src-gmp/Makefile Makefile])
29AC_OUTPUT