summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-01-17 21:43:57 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-17 21:45:49 +0900
commit586bc5207e63bd8f622f466749781e397fc5e921 (patch)
tree41cea82422433821ecd6a2ab55f15fbf20c7aec8 /configure.ac
parentadc2e674af528c01ca5bb11d56edc475bce5cc4d (diff)
efl-mono: Enable selecting to build @beta items
Summary: For autotools, use --enable-csharp-beta to enable the generation of beta methods and properties, for meson use -Dmono-beta=true. By default, no beta method or property is generated. Reviewers: woohyun, segfaultxavi, bu5hm4n, lauromoura Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7637
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 576a1af..34f71f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1349,6 +1349,17 @@ EFL_LIB_END_OPTIONAL([Eo_Js])
1349#### End of Eo JS 1349#### End of Eo JS
1350 1350
1351#### Efl C Sharp Bindings 1351#### Efl C Sharp Bindings
1352want_csharp_beta="no"
1353AC_ARG_ENABLE([csharp-beta],
1354 [AS_HELP_STRING([--enable-csharp-beta],[enable C Sharp bindings. @<:@default=disabled@:>@])],
1355 [
1356 if test "x${enableval}" = "xyes" ; then
1357 want_csharp_beta="yes"
1358 else
1359 want_csharp_beta="no"
1360 fi
1361 ],
1362 [want_csharp_beta="no"])
1352 1363
1353want_csharp="no" 1364want_csharp="no"
1354AC_ARG_ENABLE([csharp-bindings], 1365AC_ARG_ENABLE([csharp-bindings],
@@ -1372,6 +1383,11 @@ AC_DEFINE_IF([HAVE_CSHARP], [test "x${want_csharp}" = "xyes"],
1372 [1], [Compiling bindings for C Sharp]) 1383 [1], [Compiling bindings for C Sharp])
1373AC_SUBST([want_csharp]) 1384AC_SUBST([want_csharp])
1374 1385
1386AM_CONDITIONAL([HAVE_CSHARP_BETA], [test "x${want_csharp_beta}" = "xyes"])
1387AC_DEFINE_IF([HAVE_CSHARP_BETA], [test "x${want_csharp_beta}" = "xyes"],
1388 [1], [Compiling bindings for C Sharp with beta methods, properties and classes])
1389AC_SUBST([want_csharp_beta])
1390
1375if test "x${have_windows}" = "xyes"; then 1391if test "x${have_windows}" = "xyes"; then
1376 eflmonodlldir="$prefix/bin" 1392 eflmonodlldir="$prefix/bin"
1377else 1393else