Marc Slemko | d95abdd | 2007-01-16 22:20:19 +0000 | [diff] [blame] | 1 | AC_PREREQ(2.59) |
| 2 | |
| 3 | AC_INIT([thriftpy], [1.0]) |
| 4 | |
| 5 | AC_CONFIG_AUX_DIR([.]) |
| 6 | |
| 7 | AM_INIT_AUTOMAKE |
| 8 | |
David Reiss | d683219 | 2007-09-05 00:47:32 +0000 | [diff] [blame] | 9 | AC_ARG_VAR([PY_PREFIX], [Prefix for installing Python modules. |
| 10 | (Normal --prefix is ignored for Python because |
| 11 | Python has different conventions.) |
| 12 | Default = "/usr"]) |
| 13 | AS_IF([test "x$PY_PREFIX" == x], [PY_PREFIX="/usr"]) |
| 14 | |
Marc Slemko | d95abdd | 2007-01-16 22:20:19 +0000 | [diff] [blame] | 15 | AM_PATH_PYTHON(2.4,, :) |
| 16 | |
| 17 | AC_CONFIG_FILES([Makefile]) |
| 18 | |
| 19 | AC_OUTPUT |