Checkout
Philip Martin
committed
on 27 Jul 17
Build against the system utf8proc library by default instead of the
internal copy of the utf8proc code. Add --with-utf8proc=PREFIX|internal… Show more
Build against the system utf8proc library by default instead of the

internal copy of the utf8proc code.  Add --with-utf8proc=PREFIX|internal

to allow the user to specify either where to find utf8proc or that the

internal copy be used.  The Windows build will continue to use the

internal utf8proc code.

* build/ac-macros/utf8proc.m4: New.

* aclocal.m4: Include utf8proc.m4.

* configure.ac: Call SVN_UTF8PROC.

* Makefile.in

 (SVN_UTF8PROC_LIBS, SVN_UTF8PROC_INCLUDES): New.

* build.conf

 (libsvn_subr): Add utf8proc to link.

 (utf8proc): New.

* subversion/libsvn_subr/utf8proc/utf8proc.h: Rename to ...

* subversion/libsvn_subr/utf8proc/utf8proc_internal.h: ... this.

* subversion/libsvn_subr/utf8proc/utf8proc.c: Include svn_private_config.h

  and utf8proc_internal.h, protect with SVN_INTERNAL_UTF8PROC.

* subversion/libsvn_subr/utf8proc.c: Include system utf8proc.h or internal

  utf8proc.c.

* subversion/svn_private_config.hw: Define SVN_INTERNAL_UTF8PROC to

  enable internal copy of utf8proc.

* subversion/tests/libsvn_subr/utf-test.c

 (test_utf_fuzzy_escape): Allow for small output difference between

  utf8proc 1.x and 2.x.

Show less