GNOME Bugzilla – Bug 739226
configure.ac: variable substitution is not compatible with dash
Last modified: 2014-11-01 09:13:31 UTC
Created attachment 289386 [details] [review] 0001-configure.ac-workaround-quoting-issues.patch The following substitution doesn't work in dash (note ^C - I've pressed Ctrl+C here): $ BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" > ^C $ Therefore I get a configure error: checking whether gtk+-unix-print support is requested... yes checking for GTKUNIXPRINT... yes checking for EV_DAEMON... yes checking for DESKTOP_SCHEMAS... yes checking for PREVIEWER... yes ./configure: 19987: ./configure: Syntax error: "(" unexpected (expecting "fi") The following one works in bash, ksh and dash: BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-\${libdir\}/mozilla/plugins}" but I decided to just replace it with conditional.
Comment on attachment 289386 [details] [review] 0001-configure.ac-workaround-quoting-issues.patch Pushed, thanks!