[pango] Fix build --withincluded-modules



commit f9c83d3e0ec5d086fca6495a7e9aac7fbae1f9ca
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Dec 3 18:03:11 2013 -0500

    Fix build --withincluded-modules
    
    According to Doug Felt:
    
    pango's configure dies with --with-included-modules=yes, because when
    have_libthai is true, thai_modules ends up being ",thai-lang", and
    all_modules (and included_modules) ends up containing ',,'.
    
    for module in $included_modules;
    
    ends up with module='' and the case $module falls back to default, which
    calls as_fn_error.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fef470d..a4f73e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -494,7 +494,7 @@ indic_modules="indic-lang"
 thai_modules=""
 
 if $have_libthai ; then
-  thai_modules="$thai_modules,thai-lang"
+  thai_modules="thai-lang"
 fi
 
 all_modules="$arabic_modules,$basic_modules,$indic_modules,$thai_modules"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]