[Poppler-bugs] [Bug 52197] New: [Patch] portability issue in configure.ac

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 17 12:53:31 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52197

             Bug #: 52197
           Summary: [Patch] portability issue in configure.ac
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: tk at CeBiTec.Uni-Bielefeld.DE


Created attachment 64313
  --> https://bugs.freedesktop.org/attachment.cgi?id=64313
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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list