< prev index next >
common/autoconf/help.m4
Print this page
rev 2552 : 8079891: Store configure log in $BUILD/configure.log
Reviewed-by: erikj
*** 250,265 ****
fi
])
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
[
! if test -e "$OUTPUT_ROOT/config.log"; then
! $GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
! $GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
! fi
!
])
--- 250,269 ----
fi
])
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
[
! # Locate config.log.
! if test -e "./config.log"; then
! CONFIG_LOG_PATH="."
! fi
!
! if test -e "$CONFIG_LOG_PATH/config.log"; then
! $GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
if test $? -eq 0; then
printf "The following warnings were produced. Repeated here for convenience:\n"
# We must quote sed expression (using []) to stop m4 from eating the [].
! $GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
printf "\n"
fi
! fi
])
< prev index next >