]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
Makefile: introduce CHARSET_LIB to link with -lcharset
authorДилян Палаузов <dilyan.palauzov@aegee.org>
Sun, 12 Feb 2012 16:23:36 +0000 (17:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 08:11:01 +0000 (00:11 -0800)
commitb5225286b226759262c0637058528af03226fba6
tree527324aee510bb76384c1e7684951c8ba91e43c8
parent828ea97de486c1693d6e4f2c7347acb50235a85d
Makefile: introduce CHARSET_LIB to link with -lcharset

On some systems, the function locale_charset() may not be exported from
libiconv but is available from libcharset, and we need -lcharset when
linking.

Introduce a make variable CHARSET_LIB that can be set to -lcharsetlib
on such systems.  Also autodetect this in the configure script by first
looking for the symbol in libiconv, and then libcharset.

Signed-off-by: Дилян Палаузов <dilyan.palauzov@aegee.org>
Makefile
config.mak.in
configure.ac