1.1 --- a/common/autoconf/basics.m4 Sat Nov 03 16:15:26 2012 -0700 1.2 +++ b/common/autoconf/basics.m4 Sat Nov 03 16:28:14 2012 -0700 1.3 @@ -373,7 +373,11 @@ 1.4 # If we have a spec.gmk, we have run here before and we are OK. Otherwise, check for 1.5 # other files 1.6 files_present=`$LS $OUTPUT_ROOT` 1.7 - if test "x$files_present" != x; then 1.8 + # Configure has already touched config.log and confdefs.h in the current dir when this check 1.9 + # is performed. 1.10 + filtered_files=`$ECHO "$files_present" | $SED -e 's/config.log//g' -e 's/confdefs.h//g' -e 's/ //g' \ 1.11 + | $TR -d '\n'` 1.12 + if test "x$filtered_files" != x; then 1.13 AC_MSG_NOTICE([Current directory is $CURDIR.]) 1.14 AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here]) 1.15 AC_MSG_NOTICE([(as opposed to creating a configuration in <src_root>/build/<conf-name>).])