Skip to content

fix non-POSIX usage of "echo -n" in configure script (Origin: bugzilla #673218) #4650

@doxygen

Description

@doxygen

status RESOLVED severity normal in component build for ---
Reported in version 1.8.0 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-03-31 02:44:59 +0000, Ryan Schmidt wrote:

Created attachment 211012
proposed patch

On OS X Snow Leopard and up, the configure script has output like this:

{{{
-n Checking for platform macosx-c++...
supported
-n Checking for GNU make tool...
using /opt/local/bin/gmake
-n Checking for GNU install tool...
using /opt/local/bin/ginstall
-n Checking for dot (part of GraphViz)...
using /opt/local/bin/dot
-n Checking for perl...
using /opt/local/bin/perl
-n Checking for flex...
using /opt/local/bin/flex
-n Checking for bison...
using /opt/local/bin/bison
}}}

This patch fixes it by replacing "echo -n" with "printf".

On 2012-05-01 12:25:22 +0000, André Klapper wrote:

Comment on attachment 211012
proposed patch

[Fixing wrong mime type and set "patch" flag so it can be queried for.]

On 2013-02-14 00:40:21 +0000, Eric Gallager wrote:

MacPorts has recently started applying a similar patch (it might even be the exact same one, idk): https://trac.macports.org/browser/trunk/dports/textproc/doxygen/files/patch-configure.diff?rev=103087

The MacPorts issue that led to the project adding the patch can be found at: https://trac.macports.org/ticket/37970

On 2013-02-14 01:25:09 +0000, Ryan Schmidt wrote:

It's the same patch, defuzzed (line numbers updated).

On 2013-03-04 19:45:35 +0000, Dimitri van Heesch wrote:

Thanks, I'll include it in the next subversion update.

On 2013-05-19 12:36:28 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions