Mercurial > audlegacy
comparison configure.ac @ 1317:a698348c5155 trunk
[svn] - libaac: potential buffer overflow vulnerability fix
- libguess: build as a static library instead of installing as a shared object (via dai+audacious -at- vdr.jp)
author | nenolod |
---|---|
date | Mon, 19 Jun 2006 23:39:11 -0700 |
parents | 3a2b28206f12 |
children | 35ef03569852 |
comparison
equal
deleted
inserted
replaced
1316:276cc2ce63b7 | 1317:a698348c5155 |
---|---|
191 AC_ARG_ENABLE(chardet, | 191 AC_ARG_ENABLE(chardet, |
192 [ --enable-chardet enable character set detection support (default=no)], | 192 [ --enable-chardet enable character set detection support (default=no)], |
193 enable_chardet=$enableval, enable_chardet=no) | 193 enable_chardet=$enableval, enable_chardet=no) |
194 if test "x$enable_chardet" = xyes; then | 194 if test "x$enable_chardet" = xyes; then |
195 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) | 195 AC_DEFINE(USE_CHARDET, 1, [Define if character set detection enabled] ) |
196 AC_CHECK_LIB(guess, guess_jp, [SUBDIR_GUESS=['']], [SUBDIR_GUESS=['libguess']]) | 196 AC_CHECK_LIB(guess, guess_jp, [SUBDIR_GUESS=[''] CHARDET_LIBS=['-lguess']], [SUBDIR_GUESS=['libguess'] CHARDET_LIBS=['../libguess/libguess.a']]) |
197 CHARDET_LIBS=['-lguess'] | |
198 AC_CHECK_LIB(udet_c, detectCharset, [AC_DEFINE(HAVE_UDET, 1,[Define if the system has Mozilla universal character detector library]) CHARDET_LIBS=["$CHARDET_LIBS -ludet -ludet_c"]]) | 197 AC_CHECK_LIB(udet_c, detectCharset, [AC_DEFINE(HAVE_UDET, 1,[Define if the system has Mozilla universal character detector library]) CHARDET_LIBS=["$CHARDET_LIBS -ludet -ludet_c"]]) |
199 fi | 198 fi |
200 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) | 199 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) |
201 AC_SUBST(USE_CHARDET) | 200 AC_SUBST(USE_CHARDET) |
202 AC_SUBST(CHARDET_LIBS) | 201 AC_SUBST(CHARDET_LIBS) |