When only one slash is in the expression, it can only handle a list of 2
plugin names. Use two slashes to make it remove all of the commas so it can
test each item of the entire list.
diff --git a/src/configure b/src/configure
index 1e5dbb3..b544b58 100755
--- a/src/configure
+++ b/src/configure
@@ -10433,7 +10433,7 @@ no) unset QT_PLUGINS_LIST
 esac
 
 [[ $enable_qt == no ]] &&  unset QT_PLUGINS_LIST
-for p in ${QT_PLUGINS_LIST/,/ }
+for p in ${QT_PLUGINS_LIST//,/ }
 do [ -d $QT_PLUGINS_PATH/$p ] || as_fn_error $? "QT plugins not found!" "$LINENO" 5
 done
 
diff --git a/src/configure.in b/src/configure.in
index 21c52c7..80418f9 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -528,7 +528,7 @@ no) unset QT_PLUGINS_LIST
 esac
 
 [[[ $enable_qt == no ]]] &&  unset QT_PLUGINS_LIST
-for p in ${QT_PLUGINS_LIST/,/ }
+for p in ${QT_PLUGINS_LIST//,/ }
 do [[ -d $QT_PLUGINS_PATH/$p ]] || AC_MSG_ERROR(QT plugins not found!)
 done
     
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to