Skip to content

Commit ed9cb1c

Browse files
committed
* build/apr_common.m4 (APR_END_DECISION, APR_ENABLE_LAYOUT):
Use standard autoconf output macros (cosmetic change only). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1927748 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8f63e01 commit ed9cb1c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

build/apr_common.m4

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,13 @@ eval "ac_decision_msg=\"\$ac_decision_${ac_decision}_msg\""
439439

440440
define(APR_END_DECISION,[dnl
441441
if test ".$ac_decision" = .; then
442-
echo "[$]0:Error: decision on $ac_decision_item failed" 1>&2
443-
exit 1
442+
AC_MSG_ERROR([decision on $ac_decision_item failed])
444443
else
445444
if test ".$ac_decision_msg" = .; then
446445
ac_decision_msg="$ac_decision"
447446
fi
448447
AC_DEFINE_UNQUOTED(${ac_decision_item})
449-
AC_MSG_RESULT([decision on $ac_decision_item... $ac_decision_msg])
448+
AC_MSG_NOTICE([decision on $ac_decision_item... $ac_decision_msg])
450449
fi
451450
])
452451

@@ -767,8 +766,7 @@ if test -z "$LAYOUT"; then
767766
fi
768767
APR_LAYOUT($srcdir/config.layout, $LAYOUT, $2)
769768
770-
AC_MSG_CHECKING(for chosen layout)
771-
AC_MSG_RESULT($layout_name)
769+
AC_MSG_NOTICE([chosen layout: $layout_name])
772770
])
773771

774772

0 commit comments

Comments
 (0)