Changeset 4025 for neercs/trunk/configure.ac
- Timestamp:
- Nov 23, 2009, 2:16:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/configure.ac
r3996 r4025 49 49 fi 50 50 51 51 52 dnl conditional builds 52 53 AC_ARG_ENABLE(debug, 53 54 [ --enable-debug build debug versions of neercs (default no)]) 55 AC_ARG_ENABLE(python, 56 [ --enable-python build Python interpreter (default yes)]) 57 AS_IF([test "x$enable_python" != "xno"], [ 58 enable_python="yes" 59 ]) 54 60 55 61 CACA="no" … … 95 101 AC_DEFINE(_GNU_SOURCE, 1, [Use GNU extentions]) 96 102 103 PYTHON3="yes" 104 if test "${enable_python}" != "no"; then 105 PKG_CHECK_MODULES(PYTHON3, python3 >= 3.1, 106 [PYTHON3="yes" AC_DEFINE(USE_PYTHON, 1, [Define to 1 to use Python interpreter])], 107 [AC_MSG_RESULT(you need Python 3.1 or later to compile the interpreter) 108 ]) 109 fi 110 97 111 98 112 # Optimizations
Note: See TracChangeset
for help on using the changeset viewer.