Bug 205360 - don't link explicitly with libc as part of ICONV_LIBS, since it causes problems for gcc built with --disable-shared. Patch by cls, r=dbaron, sr=darin.

This commit is contained in:
bryner%netscape.com 2003-06-16 21:37:49 +00:00
parent 689f36830f
commit c90762438b
2 changed files with 601 additions and 508 deletions

1107
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2264,7 +2264,7 @@ case $target_os in
;;
*)
AC_CHECK_LIB(c, iconv, [_ICONV_LIBS="$_ICONV_LIBS -lc"],
AC_CHECK_LIB(c, iconv, [_ICONV_LIBS="$_ICONV_LIBS"],
AC_CHECK_LIB(iconv, iconv, [_ICONV_LIBS="$_ICONV_LIBS -liconv"],
AC_CHECK_LIB(iconv, libiconv, [_ICONV_LIBS="$_ICONV_LIBS -liconv"])))
_SAVE_LIBS=$LIBS