Changeset 1ca493a for configure.ac
- Timestamp:
- Jun 25, 2020, 8:26:37 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- b56827
- Parents:
- 912a6f
- git-author:
- Frederik Heber <frederik.heber@…> (04/16/19 23:09:54)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/25/20 20:26:37)
- File:
-
- 1 edited
-
configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r912a6f r1ca493a 36 36 # Python (for boost::python) 37 37 AM_PATH_PYTHON([2.2]) 38 AX_PYTHON39 38 AC_DEFINE(HAVE_PYTHON,1, ["Build python module and scripts."]) 40 39 ]) 40 python_version_major=`echo $PYTHON_VERSION | sed -e "s#\([0-9]\)\..*#\1#"` 41 41 AM_CONDITIONAL([CONDPYTHON], [test x"$enable_python" != x"no"]) 42 AS_IF([test x"$python_version_major" = x"2"],[ 43 AC_DEFINE(HAVE_PYTHON2, 1, ["using python version 2"]) 44 ],[test x"$python_version_major" = x"3"],[ 45 AC_DEFINE(HAVE_PYTHON3, 1, ["using python version 3"]) 46 ]) 42 47 AC_SUBST(HAVE_PYTHON) 43 48
Note:
See TracChangeset
for help on using the changeset viewer.
