summaryrefslogtreecommitdiff
path: root/project/config/cfgdefs.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-15 17:22:58 -0500
committermidipix <writeonce@midipix.org>2018-12-19 20:16:27 -0500
commit21274e893ed08aefd89a6acbcc4e6690ce6f08d7 (patch)
treeeafc518e91daa8e2d789f699b4d8a9f6aa34493e /project/config/cfgdefs.in
parentc8c262a1a1e1d93b2758f0f814a6365c94296ee9 (diff)
downloadsbpython2-21274e893ed08aefd89a6acbcc4e6690ce6f08d7.tar.bz2
sbpython2-21274e893ed08aefd89a6acbcc4e6690ce6f08d7.tar.xz
custom config: init python's version make vars based on patchlevel.h.
Diffstat (limited to 'project/config/cfgdefs.in')
-rw-r--r--project/config/cfgdefs.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/project/config/cfgdefs.in b/project/config/cfgdefs.in
new file mode 100644
index 0000000..7a96696
--- /dev/null
+++ b/project/config/cfgdefs.in
@@ -0,0 +1,7 @@
+# project-specific configuration
+PYTHON_VER = @python_ver@
+PYTHON_MAJOR = @python_major@
+PYTHON_MINOR = @python_minor@
+PYTHON_MICRO = @python_micro@
+PYTHON_SOABI = cpython-$(PYTHON_MAJOR)$(PYTHON_MINOR)-$(CCHOST)
+