Skip to content

Commit 974e6e4

Browse files
committed
Merge branch 'mn/maint-iconv-autoconf'
* mn/maint-iconv-autoconf: fix handling of iconv configuration options
2 parents 12d4ffa + 934f82a commit 974e6e4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

configure.ac

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ AC_SUBST(NO_EXPAT)
385385
# some Solaris installations).
386386
# Define NO_ICONV if neither libc nor libiconv support iconv.
387387

388+
if test -z "$NO_ICONV"; then
389+
388390
GIT_STASH_FLAGS($ICONVDIR)
389391

390392
AC_DEFUN([ICONVTEST_SRC], [
@@ -431,6 +433,12 @@ GIT_UNSTASH_FLAGS($ICONVDIR)
431433
AC_SUBST(NEEDS_LIBICONV)
432434
AC_SUBST(NO_ICONV)
433435

436+
if test -n "$NO_ICONV"; then
437+
NEEDS_LIBICONV=
438+
fi
439+
440+
fi
441+
434442
#
435443
# Define NO_DEFLATE_BOUND if deflateBound is missing from zlib.
436444

0 commit comments

Comments
 (0)