changeset 4481:25730d90d916

USE_CHARDET is now substituted in AUD_CONDITIONAL.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 06:51:08 +0300
parents 28863634a2da
children 1884c4a9d84f
files configure.ac
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Apr 21 06:50:00 2008 +0300
+++ b/configure.ac	Mon Apr 21 06:51:08 2008 +0300
@@ -195,11 +195,10 @@
     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"
+        AC_SUBST([CHARDET_LIBS])
     ])
 ])
 AUD_CONDITIONAL([USE_CHARDET], [enable_chardet])
-AC_SUBST([USE_CHARDET])
-AC_SUBST([CHARDET_LIBS])
 
 
 ### ---------------------------------------------------------------------------