summaryrefslogtreecommitdiffstats
path: root/rules/glib.in
blob: 7a98b25398c0b59c4c33437a25622249e40629a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
config GLIB
	bool
	prompt "glib"
	select LIBICONV if GLIB_LIBICONV
	select GETTEXT if GLIB_GETTEXT
	select HOST_GLIB
	help
	  GLib is a library containing many useful C routines for things
	  such as trees, hashes, lists, and strings. It is a useful
	  general-purpose C library used by projects such as GTK+, GIMP,
	  and GNOME.

choice
	prompt "iconv variant" if !ARCH_MINGW
	default GLIB_LIBICONV_GNU
	depends on GLIB

	config GLIB_LIBICONV_GNU
		bool
		prompt "gnu (libiconv)"

	config GLIB_LIBICONV_NATIVE
		bool
		prompt "native"

endchoice

config GLIB_GETTEXT
	bool
	depends on GLIB
	default y if ARCH_MINGW