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