summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 20:40:48 -0500
committermidipix <writeonce@midipix.org>2018-12-19 20:51:37 -0500
commitd1b52c06d0f406184a0356b7b2a012a5c0abed32 (patch)
treef2dd228e3d78b59f46e8b9d1f7872561a100f7a6 /project/config
parent7219fdc0a016e1bc7740a352ff83b0e3727a524e (diff)
downloadsbpython2-d1b52c06d0f406184a0356b7b2a012a5c0abed32.tar.bz2
sbpython2-d1b52c06d0f406184a0356b7b2a012a5c0abed32.tar.xz
project: custom config: handle all expat-related bits at config-time.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 61482d3..8e304fd 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -231,6 +231,19 @@ cfgdefs_perform_target_tests()
mb_cfgtest_makevar='LDFLAGS_SQLITE_STATIC'
cfgtest_makevar_append '$(LDFLAGS_SQLITE)'
+ # expat
+ cfgtest_newline
+ cfgtest_comment 'expat'
+
+ mb_cfgtest_makevar='CFLAGS_EXPAT'
+ cfgtest_makevar_append '-DXML_DEV_URANDOM'
+
+ mb_cfgtest_makevar='LDFLAGS_EXPAT'
+ cfgtest_makevar_append '-lexpat'
+
+ mb_cfgtest_makevar='LDFLAGS_EXPAT_STATIC'
+ cfgtest_makevar_append '$(LDFLAGS_EXPAT)'
+
# pretty cfgdefs.mk
cfgtest_newline
}