2 # Process this file with autoconf to produce a configure script.
6 # increment the version number here on each release, so that the
7 # version number in the source-code repo is one *more* than the
9 AC_INIT([proto], [1], [proto-bugs@csail.mit.edu])
11 AC_CONFIG_SRCDIR([src/compiler/compiler.cpp])
12 AC_CONFIG_AUX_DIR([config])
13 AC_CONFIG_MACRO_DIR([config])
14 AC_CONFIG_HEADER([src/config.h])
25 ## Checks for programs.
29 AX_WITH_PYTHON([echo "no python found"; exit 1; : ]) # only needed for tests
31 ## options for the user
40 ## Checks for header files.
42 # TODO: these are unused
45 ## Checks for typedefs, structures, and compiler characteristics.
59 ## Checks for library functions.
65 AC_FUNC_SELECT_ARGTYPES
67 AC_CHECK_FUNCS([floor gettimeofday memset pow select sqrt strcasecmp strrchr])
69 AC_CONFIG_FILES([Makefile