Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mn/maint-iconv-autoconf' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Jun 2009 04:14:25 +0000
(21:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 22 Jun 2009 04:14:25 +0000
(21:14 -0700)
* mn/maint-iconv-autoconf:
fix handling of iconv configuration options
configure.ac
patch
|
blob
|
history
raw
(from parent 1:
44fb185
)
diff --git
a/configure.ac
b/configure.ac
index 4e728bca35f5f7b01188ef84df85b161266ce305..25fbe3bb6be2b29501965409670b066ae616c570 100644
(file)
--- 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.