| … | … | @@ -1,19 +1,6 @@ |
| 1 | 1 | # ---------------------------------------------------------- |
| 2 | 2 | # Python and Cython |
| 3 | 3 | # |
| 4 | | |
| 5 | | # ---------------------------------------------------------- |
| 6 | | # secure_getenv |
| 7 | | # Without this, one gets the common cryptic python error message: |
| 8 | | # ImportError: No module named 'opencog' |
| 9 | | |
| 10 | | INCLUDE(CheckSymbolExists) |
| 11 | | CHECK_SYMBOL_EXISTS(secure_getenv "stdlib.h" HAVE_SECURE_GETENV) |
| 12 | | IF (HAVE_SECURE_GETENV) |
| 13 | | ADD_DEFINITIONS(-DHAVE_SECURE_GETENV) |
| 14 | | ENDIF (HAVE_SECURE_GETENV) |
| 15 | | |
| 16 | | # ---------------------------------------------------------- |
| 17 | 4 | # NOTE: Python interpreter is needed for running python unit tests, |
| 18 | 5 | # and for running the FindCython module. |
| 19 | 6 | # |