Summary: |
[Patch] portability issue in configure.ac |
Product: |
poppler
|
Reporter: |
Torsten Kasch <tk> |
Component: |
general | Assignee: |
poppler-bugs <poppler-bugs> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
Solaris | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
portability patch for configure.ac
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 64313 [details] portability patch for configure.ac Configuring poppler-0.20.2 in a separate object dir failed for me on Solaris with the following error message: /vol/src/X11/poppler/poppler-0.20.2/configure: syntax error at line 23951: `(' unexpected This is due to the (wrong) assumption, that /bin/sh is always a bash. On Solaris (at least), /bin/sh is a real Bourne Shell and therefore does not know about $(...) command substitutions. The attached patch resolves this issue by replacing the $(...) command substitution with the more portable backtick evaluation.