summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-06-21 21:14:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-21 21:14:25 -0700
commit6019b3ce8d178ed99d37b32cc2c523c25f0d58a1 (patch)
tree7d7684899c730b4c3e801a2cb7073f2d171150bc /configure.ac
parentMerge branch 'lt/maint-unsigned-left-shift' into maint (diff)
parentfix handling of iconv configuration options (diff)
downloadtgif-6019b3ce8d178ed99d37b32cc2c523c25f0d58a1.tar.xz
Merge branch 'mn/maint-iconv-autoconf' into maint
* mn/maint-iconv-autoconf: fix handling of iconv configuration options
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4e728bca35..25fbe3bb6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.