Skip to contentSkip to conversation

[2342] 2009-06-18 Vladimir Serbinenko <[email protected]>

DISCUSSION Christian Franke 2 participants 4 messages Jun 19, 2009 – Jun 22, 2009 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

grub2/configure.ac line 312

Quoted 11 lines · Vladimir Serbinenko

* configure.ac: remove a leftover AC_MSG_RESULT
...

grub2/configure.ac +0 -1
@@ -308,7 +308,6 @@
 AC_SUBST(TARGET_IMG_LDSCRIPT)
 AC_SUBST(TARGET_IMG_LDFLAGS)
 AC_SUBST(TARGET_IMG_CFLAGS)
-AC_MSG_RESULT([$TARGET_IMG_LDFLAGS_AC])
 
 

This was the AC_MSG_RESULT(...) for the
AC_MSG_CHECKING([for option to link raw image])
which is still present for the "$grub_cv_apple_target_cc" != "yes" case.

I would suggest to move the AC_MSG_CHECKING outside the 'if "$grub_cv_apple_target_cc" = "yes" ... fi' and re-add the AC_MSG_RESULT.

Signature · 2 lines
Regards,
Christian Franke
#2 lore raw
Quoted 6 lines · Christian Franke

This was the AC_MSG_RESULT(...) for the
AC_MSG_CHECKING([for option to link raw image])
which is still present for the "$grub_cv_apple_target_cc" != "yes" case.

I would suggest to move the AC_MSG_CHECKING outside the 'if "$grub_cv_apple_target_cc" = "yes" ... fi' and re-add the AC_MSG_RESULT.

Thanks for pointing it out. Actually, the message is not needed at all. There is no "checking" that needs to be communicated to the user. It would be appropriate if configure was running a compiler or looked for some tool in the PATH. In this case, it's just shell variable assignments with on test for a file.

Signature · 2 lines
Regards,
Pavel Roskin
#3 lore raw
Quoted 6 lines · Pavel Roskin
Quoted 4 lines · Christian Franke

This was the AC_MSG_RESULT(...) for the
AC_MSG_CHECKING([for option to link raw image])
which is still present for the "$grub_cv_apple_target_cc" != "yes" case.

Quoted 10 lines
Quoted 2 lines

I would suggest to move the AC_MSG_CHECKING outside the 'if "$grub_cv_apple_target_cc" = "yes" ... fi' and re-add the AC_MSG_RESULT.

Thanks for pointing it out. Actually, the message is not needed at all. There is no "checking" that needs to be communicated to the user. It would be appropriate if configure was running a compiler or looked for some tool in the PATH. In this case, it's just shell variable assignments with on test for a file.

I would prefer an output here even if the test done isn't a 'real' configure check. Would also make sense when we later apply your 'Use common linker script for all i386-pc systems' suggestion.

But if you want to remove this messages it is also fine with me.

Same would then possibly also apply to the AC_MSG_CHECKING([for command to convert module to ELF format]) a few lines below.

Signature · 2 lines
Regards,
Christian Franke
#4 lore raw
Quoted 9 lines · Christian Franke

I would prefer an output here even if the test done isn't a 'real' configure check. Would also make sense when we later apply your 'Use common linker script for all i386-pc systems' suggestion.

But if you want to remove this messages it is also fine with me.

Same would then possibly also apply to the AC_MSG_CHECKING([for command to convert module to ELF format]) a few lines below.

At least it doesn't produce a long line starting with a dash that looks out of place.

Signature · 2 lines
Regards,
Pavel Roskin