Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4039)

Issue 573570044: aclocal.m4 (STEPMAKE_GUILE_DEVEL): Fix logic and improve diagnostics.

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 1 month ago by lemzwerg
Modified:
4 years, 1 month ago
Reviewers:
hahnjo
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

aclocal.m4 (STEPMAKE_GUILE_DEVEL): Fix logic and improve diagnostics. Add quotes around string argument that contains a logical operator to avoid unexpected results. Also use $PKG_CONFIG everywhere.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -13 lines) Patch
M aclocal.m4 View 8 chunks +20 lines, -13 lines 1 comment Download

Messages

Total messages: 3
hahnjo
https://codereview.appspot.com/573570044/diff/559570043/aclocal.m4 File aclocal.m4 (right): https://codereview.appspot.com/573570044/diff/559570043/aclocal.m4#newcode683 aclocal.m4:683: AC_MSG_RESULT([no]) Do we really want that many "no"s in ...
4 years, 1 month ago (2020-02-25 19:32:14 UTC) #1
lemzwerg
> Do we really want that many "no"s in the output Currently, you get this ...
4 years, 1 month ago (2020-02-25 19:50:34 UTC) #2
hahnjo
4 years, 1 month ago (2020-02-25 20:52:23 UTC) #3
On 2020/02/25 19:50:34, lemzwerg wrote:
> > Do we really want that many "no"s in the output
> 
> Currently, you get this (in one long line):
> 
>   checking for guile-1.8 >= 1.8.2... checking for guile-2.2 >= 2.2.0...
checking
> for guile-2.0 >= 2.0.7... Package guile-2.0 was not found in the pkg-config
> search path. Perhaps you should add the directory containing `guile-2.0.pc' to
> the PKG_CONFIG_PATH environment variable No package 'guile-2.0' found
> 
> With the above patch, you get
> 
>   checking for guile-1.8 >= 1.8.2... no
>   checking for guile-2.2 >= 2.2.0... no
>   checking for guile-2.0 >= 2.0.7... no
> 
>   ...
> 
>   ERROR: Please install required programs:  guile-devel >= 1.8
> 
> So I think the many 'no' strings are the right thing to do.

Ah I missed that PKG_CHECK_MODULES already prints the "checking" lines.

LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b