< prev index next >

common/autoconf/help.m4

Print this page
rev 2540 : 8065215: Print warning summary at end of configure
Reviewed-by: erikj, tbell
rev 2541 : 8079891: Store configure log in $BUILD/configure.log
Reviewed-by: erikj


 235     printf "and run the configure script again from that directory.\n"
 236     printf "\n"
 237   fi
 238 
 239   if test "x$IS_RECONFIGURE" = "xyes"; then
 240     printf "WARNING: The result of this configuration has overridden an older\n"
 241     printf "configuration. You *should* run 'make clean' to make sure you get a\n"
 242     printf "proper build. Failure to do so might result in strange build problems.\n"
 243     printf "\n"
 244   fi
 245 
 246   if test "x$UNSUPPORTED_TOOLCHAIN_VERSION" = "xyes"; then
 247     printf "WARNING: The toolchain version used is known to have issues. Please\n"
 248     printf "consider using a supported version unless you know what you are doing.\n"
 249     printf "\n"
 250   fi
 251 ])
 252 
 253 AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
 254 [
 255 if test -e "$OUTPUT_ROOT/config.log"; then
 256   $GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1





 257   if test $? -eq 0; then
 258     printf "The following warnings were produced. Repeated here for convenience:\n"
 259     # We must quote sed expression (using []) to stop m4 from eating the [].
 260     $GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
 261     printf "\n"
 262   fi
 263 fi
 264 
 265 ])


 235     printf "and run the configure script again from that directory.\n"
 236     printf "\n"
 237   fi
 238 
 239   if test "x$IS_RECONFIGURE" = "xyes"; then
 240     printf "WARNING: The result of this configuration has overridden an older\n"
 241     printf "configuration. You *should* run 'make clean' to make sure you get a\n"
 242     printf "proper build. Failure to do so might result in strange build problems.\n"
 243     printf "\n"
 244   fi
 245 
 246   if test "x$UNSUPPORTED_TOOLCHAIN_VERSION" = "xyes"; then
 247     printf "WARNING: The toolchain version used is known to have issues. Please\n"
 248     printf "consider using a supported version unless you know what you are doing.\n"
 249     printf "\n"
 250   fi
 251 ])
 252 
 253 AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
 254 [
 255   # Locate config.log.
 256   if test -e "./config.log"; then
 257     CONFIG_LOG_PATH="."
 258   fi
 259 
 260   if test -e "$CONFIG_LOG_PATH/config.log"; then
 261     $GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
 262     if test $? -eq 0; then
 263       printf "The following warnings were produced. Repeated here for convenience:\n"
 264       # We must quote sed expression (using []) to stop m4 from eating the [].
 265       $GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
 266       printf "\n"
 267     fi
 268   fi

 269 ])
< prev index next >