Changeset da0202a
- Timestamp:
- 2022-08-22T14:38:38Z (2 years ago)
- Branches:
- master
- Children:
- b9572c1
- Parents:
- b82ba4a
- git-author:
- Jelmer Vernooij <jelmer@…> (30-08-20 20:52:36)
- git-committer:
- Jelmer Vernooij <jelmer@…> (22-08-22 14:38:38)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rb82ba4a rda0202a 48 48 49 49 events=glib 50 external_json_parser=auto 50 51 ssl=auto 51 52 … … 155 156 --ssl=... SSL library to use (gnutls, nss, openssl, auto) 156 157 $ssl 158 --external_json_parser=0/1/auto Use External JSON parser $external_json_parser 157 159 158 160 … … 404 406 fi 405 407 echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings 408 409 if [ "$external_json_parser" = "auto" ]; then 410 if pkg-config --exists json-parser; then 411 external_json_parser=1 412 else 413 external_json_parser=0 414 fi 415 fi 416 echo "EXTERNAL_JSON_PARSER=$external_json_parser" >> Makefile.settings 417 if [ "$external_json_parser" = "1" ]; then 418 echo "CFLAGS+=$(pkg-config --cflags json-parser)" >> Makefile.settings 419 echo "LDFLAGS_BITLBEE+=$(pkg-config --libs json-parser)" >> Makefile.settings 420 echo "LDFLAGS_TESTS+=$(pkg-config --libs json-parser)" >> Makefile.settings 421 fi 422 406 423 407 424 detect_gnutls() … … 995 1012 996 1013 echo ' Using python: '$PYTHON 1014 1015 if [ "$external_json_parser" = "1" ]; then 1016 echo ' Using system JSON parser.' 1017 else 1018 echo ' Using bundled JSON parser.' 1019 fi 1020 997 1021 echo ' Using event handler: '$events 998 1022 echo ' Using SSL library: '$ssl -
lib/Makefile
rb82ba4a rda0202a 13 13 14 14 # [SH] Program variables 15 objects = arc.o base64.o canohost.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o json.o json_util.o md5.o misc.o oauth.o oauth2.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o ns_parse.o 15 objects = arc.o base64.o canohost.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o json_util.o md5.o misc.o oauth.o oauth2.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o ns_parse.o 16 17 ifneq ($(EXTERNAL_JSON_PARSER),1) 18 objects += json.o 19 endif 16 20 17 21 LFLAGS += -r -
tests/Makefile
rb82ba4a rda0202a 3 3 _SRCDIR_ := $(_SRCDIR_)tests/ 4 4 endif 5 6 LFLAGS += $(LDFLAGS_TESTS) 5 7 6 8 CFLAGS += $(shell pkg-config --cflags check)
Note: See TracChangeset
for help on using the changeset viewer.