Tue, 14 Feb 2006 05:43:43 +0000
[gaim-migrate @ 15646]
Always show a vertical scrollbar on conversations imhtmls. This will solve the shrinking conversation window bug. I chose this approach instead of saving the size of the window (as I had previous talked about), as this prevents the contents of the scrollback from rewrapping when the scrollbars appear or disappear. It also just seems to feel like the right thing to do, but maybe that's me being lazy.
| 12023 | 1 | AC_DEFUN([LP_CHECK_SPEEX],[ |
| 2 | dnl only accept speex>=1.1.6 or 1.0.5 (the versions that have speex_encode_int ) | |
| 3 | AC_ARG_WITH( speex, | |
| 4 | [ --with-speex Set prefix where speex lib can be found (ex:/usr, /usr/local) [default=/usr] ], | |
| 5 | [ speex_prefix=${withval}],[ speex_prefix="/usr" ]) | |
| 6 | ||
| 7 | SPEEX_CFLAGS=" -I${speex_prefix}/include -I${speex_prefix}/include/speex" | |
| 8 | SPEEX_LIBS="-L${speex_prefix}/lib -lspeex -lm" | |
| 9 | CPPFLAGS_save=$CPPFLAGS | |
| 10 | CPPFLAGS=$SPEEX_CFLAGS | |
| 11 | LDFLAGS_save=$LDFLAGS | |
| 12 | LDFLAGS=$SPEEX_LIBS | |
| 13 | AC_CHECK_HEADERS(speex.h,[AC_CHECK_LIB(speex,speex_encode_int,speex_found=yes,speex_found=no) | |
| 14 | ],speex_found=no) | |
| 15 | ||
| 16 | if test "$speex_found" = "no" ; then | |
| 17 | AC_MSG_ERROR([Could not find a libspeex version that have the speex_encode_int() function. Please install libspeex=1.0.5 or libspeex>=1.1.6]) | |
| 18 | fi | |
| 19 | ||
| 20 | AC_SUBST(SPEEX_CFLAGS) | |
| 21 | AC_SUBST(SPEEX_LIBS) | |
| 22 | CPPFLAGS=$CPPFLAGS_save | |
| 23 | LDFLAGS=$LDFLAGS_save | |
| 24 | ]) |