Revision b5225286b226759262c0637058528af03226fba6 authored by Дилян Палаузов on 12 February 2012, 16:23:36 UTC, committed by Junio C Hamano on 13 February 2012, 08:11:01 UTC
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>
1 parent 828ea97
test-svn-fe.c
/*
* test-svn-fe: Code to exercise the svn import lib
*/
#include "git-compat-util.h"
#include "vcs-svn/svndump.h"
int main(int argc, char *argv[])
{
if (argc != 2)
usage("test-svn-fe <file>");
if (svndump_init(argv[1]))
return 1;
svndump_read(NULL);
svndump_deinit();
svndump_reset();
return 0;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...