Checkout Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* build/ac-macros/utf8proc.m4

(SVN_UTF8PROC): When --with-utf8proc was not given, or given without an

argument, and utf8proc was not found, have the error message suggest

using --with-utf8proc=internal.

Found by: gstein

LZ4 and UTF8PROC are build requirements and so attempts to disable them

via configure options such as --without-lz4 should result in an error.

* build/ac-macros/lz4.m4

(SVN_LZ4): Produce an error if disabled.

* build/ac-macros/utf8proc.m4:

(SVN_UTF8PROC): Produce an error if disabled.

  1. … 1 more file in changeset.
Don't use a prefix of "yes" for lz4/utf8proc detection

The --with-{lz4,utf8proc} configure switches have 3 supported uses

(--with-<lib>, --with-<lib>=internal, --with-<lib>=PREFIX). Using

"--with-<lib>" was setting the prefix to "yes", when it should have

been using the "std" detection.

* build/ac-macros/lz4.m4

(SVN_LZ4): Correctly set lz4_prefix with "--with-lz4"

* build/ac-macros/utf8proc.m4

(SVN_UTF8PROC): Correctly set utf8proc_prefix with "--with-utf8proc"

  1. … 1 more file in changeset.
Follow-up to r1803210, remove extra "yes" in utf8proc configure output

* build/ac-macros/utf8proc.m4: Remove AC_MSG_RESULT from AC_CHECK_LIB

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.

  1. … 10 more files in changeset.