Modify valac --target-glib.
authorfujiwarat <takao.fujiwara1@gmail.com>
Tue, 11 Jun 2013 03:46:02 +0000 (12:46 +0900)
committerfujiwarat <takao.fujiwara1@gmail.com>
Tue, 11 Jun 2013 03:46:02 +0000 (12:46 +0900)
commit7b9633ab6e20920710cd1f422bd4e6d18a363f35
tree53b774d85c1ef589864693b54cdae89a4447a9a8
parent4a68e97e32cc58baf233a8357d423614def3aac0
Modify valac --target-glib.

valac --ccode --target-glib=2.36 can disable g_type_init in the
generated C files since g_type_init is deprecated in glib 2.36.
But ibus tarball includes C files so that users do not require
vala and vala versions are different between dist and build.
If dist could have glib 2.36 to generate the ibus tarball but
a user build would have glib 2.34, the user build would be
failed because glib 2.34 requires g_type_init.
This change makes sure the target-glib is minimum of the glib
version for ibus.

Review URL: https://codereview.appspot.com/10156044
configure.ac
engine/Makefile.am
tools/Makefile.am
ui/gtk3/Makefile.am