Fix for bug 16163. Usage of -liberty to demangle symbols breaks on loser

linux distributions.  I changed configure.in to detect this lib before using
it.  You can stop whinning now thank you.  r=syd@netscape.com.
This commit is contained in:
ramiro%netscape.com 1999-10-12 11:42:56 +00:00
Родитель 87ac65a007
Коммит 3707368b40
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -2615,10 +2615,15 @@ dnl =
dnl = Support for demangling undefined symbols
dnl =
dnl ========================================================
AC_CHECK_LIB(iberty, cplus_demangle, [HAVE_DEMANGLE=1],
HAVE_DEMANGLE=, "-liberty")
MOZ_DEMANGLE_SYMBOLS=
case "$target" in
*-linux*)
if test "$HAVE_DEMANGLE"
then
case "$target" in
*-linux*)
# Demangle only for debug builds
if test "$MOZ_DEBUG"
then
@ -2626,7 +2631,8 @@ case "$target" in
AC_DEFINE(MOZ_DEMANGLE_SYMBOLS)
fi
;;
esac
esac
fi
AC_SUBST(MOZ_DEMANGLE_SYMBOLS)