From 892818b69fd67baf9acfdd97ef118ad5fdc48d41 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 9 Dec 2017 13:01:37 +0100 Subject: [PATCH] - acinclude: use AS_HELP_STRING() for --with-boxmodel; ... i don't know any other way to get linefeeds in right-hand text Signed-off-by: Thilo Graf --- acinclude.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 5d4b9a6ab..108af6e8b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -83,7 +83,7 @@ AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_SYS_LARGEFILE -check_path () { +check_path() { return $(perl -e "if(\"$1\"=~m#^/usr/(local/)?bin#){print \"0\"}else{print \"1\";}") } @@ -323,9 +323,9 @@ AC_ARG_WITH(boxtype, [BOXTYPE="coolstream"]) AC_ARG_WITH(boxmodel, - [ --with-boxmodel valid for coolstream: hd1, hd2 - valid for armbox: hd51 - valid for generic: raspi], + AS_HELP_STRING([--with-boxmodel], [valid for coolstream: hd1, hd2]) +AS_HELP_STRING([], [valid for armbox: hd51]) +AS_HELP_STRING([], [valid for generic: raspi]), [case "${withval}" in hd1|hd2) if test "$BOXTYPE" = "coolstream"; then