From 1af2bbc774004bc0ece19d5ad9feccd86aa0d6ad Mon Sep 17 00:00:00 2001 From: vanhofen 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/892818b69fd67baf9acfdd97ef118ad5fdc48d41 Author: vanhofen Date: 2017-12-09 (Sat, 09 Dec 2017) Origin message was: ------------------ - 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 ------------------ This commit was generated by Migit --- 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