projects
/
roojspacker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b1973
)
configure.ac
author
Alan Knowles
<alan@roojs.com>
Tue, 21 Jun 2016 06:35:54 +0000
(14:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 21 Jun 2016 06:35:54 +0000
(14:35 +0800)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
3091177
..
7bf986a
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-41,6
+41,16
@@
PKG_CHECK_MODULES(ROOJSPACKER, [
json-glib-1.0
])
+PKG_CHECK_MODULES(JAVASCRIPTCOREGTK, [json-glib-1.0],
+ [json_glib_enabled=yes],
+ [json_glib_enabled=no])
+
+if test $json_glib_enabled = yes; then
+ AC_DEFINE(HAVE_JSON_GLIB,1,[json-glib support])
+fi
+AM_CONDITIONAL(HAVE_JSON_GLIB, test "$json-glib support" = "yes")
+
+
dnl -- javascriptcoregtk-4.0 ** might add this later -- verify compilation.