mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
Merge branch 'mn/maint-iconv-autoconf' into maint
* mn/maint-iconv-autoconf: fix handling of iconv configuration options
This commit is contained in:
commit
6019b3ce8d
1 changed files with 8 additions and 0 deletions
|
@ -385,6 +385,8 @@ AC_SUBST(NO_EXPAT)
|
|||
# some Solaris installations).
|
||||
# Define NO_ICONV if neither libc nor libiconv support iconv.
|
||||
|
||||
if test -z "$NO_ICONV"; then
|
||||
|
||||
GIT_STASH_FLAGS($ICONVDIR)
|
||||
|
||||
AC_DEFUN([ICONVTEST_SRC], [
|
||||
|
@ -431,6 +433,12 @@ GIT_UNSTASH_FLAGS($ICONVDIR)
|
|||
AC_SUBST(NEEDS_LIBICONV)
|
||||
AC_SUBST(NO_ICONV)
|
||||
|
||||
if test -n "$NO_ICONV"; then
|
||||
NEEDS_LIBICONV=
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
#
|
||||
# Define NO_DEFLATE_BOUND if deflateBound is missing from zlib.
|
||||
|
||||
|
|
Loading…
Reference in a new issue