From: Ken Raeburn Date: Wed, 20 Jun 2007 06:54:59 +0000 (+0000) Subject: Fix typo and add verbosity in function-capable shell test X-Git-Tag: krb5-1.7-alpha1~1073 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6718cc8246fea0209bb9c1119af7d18a6c6f86ca;p=krb5.git Fix typo and add verbosity in function-capable shell test git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19608 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/configure.in b/src/configure.in index 518fdba06..74b6163de 100644 --- a/src/configure.in +++ b/src/configure.in @@ -621,8 +621,13 @@ AC_PATH_PROG(SH,sh,false) AC_PATH_PROG(SH5,sh5,false) AC_PATH_PROG(BASH,bash,false) for prog in $SH $SH5 $BASH; do - if $prog -c 'foo() { true; } foo' >/dev/null 2>&1; then - FCTSH=$prog ; break + AC_MSG_CHECKING(if $prog supports functions) + if $prog -c 'foo() { true; }; foo' >/dev/null 2>&1; then + AC_MSG_RESULT(yes) + FCTSH=$prog + break + else + AC_MSG_RESULT(no) fi done AC_SUBST(FCTSH)