From 8900923e91e6d00f66ceaf96128afbab341bdf89 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sat, 22 Sep 2018 11:00:18 +0800 Subject: build: autogen.sh libtoolize invocation minor fixes. * Let autogen.sh error message go to stderr. * Don't quote the variable $LIBTOOLIZE when invoking it. This would allow invocation when LIBTOOLIZE='a-future-libtoolize --gnu-compat' Signed-off-by: Kang-che Sung --- autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index 6802e9f..5886178 100755 --- a/autogen.sh +++ b/autogen.sh @@ -34,8 +34,8 @@ if test "$?" -ne 0; then LIBTOOLIZE=glibtoolize $LIBTOOLIZE --version 2>/dev/null if test "$?" -ne 0; then - echo "error: libtoolize not working, re-run with LIBTOOLIZE=/path/to/libtoolize" - echo " LIBTOOLIZE is currently \"$LIBTOOLIZE_ORIG\"" + echo "error: libtoolize not working, re-run with LIBTOOLIZE=/path/to/libtoolize">&2 + echo " LIBTOOLIZE is currently \"$LIBTOOLIZE_ORIG\"">&2 exit 1 fi fi @@ -47,5 +47,5 @@ fi if ! test -f ChangeLog; then touch ChangeLog fi -"$LIBTOOLIZE" --install --force +$LIBTOOLIZE --install --force autoreconf --install --force -- cgit v1.2.1