[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It can be a configuration or ortherwise important warning/error.

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
 configure.sh |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.sh b/configure.sh
index 824abea..3bececc 100755
--- a/configure.sh
+++ b/configure.sh
@@ -32,6 +32,7 @@ check_header()
 		echo "#define $2 1" >> config.h
 	else
 		echo $RED "[NO]" $COL_RESET
+		cat "$TMP.log"
 		MISSING_DEFS=1
 	fi
 }
@@ -68,6 +69,7 @@ ${CC} "$TMP.c" -o "$TMP" &>"$TMP.log"
 
 if [ ! -x "$TMP" ]; then
 	echo $RED "[NO]" $COL_RESET
+	cat "$TMP.log"
 	MISSING_DEFS=1
 else
 	echo $GREEN "[YES]" $COL_RESET
@@ -97,6 +99,7 @@ ${CC} "$TMP.c" -o "$TMP" &>"$TMP.log"
 
 if [ ! -x "$TMP" ]; then
 	echo $RED "[NO]" $COL_RESET
+	cat "$TMP.log"
 	MISSING_DEFS=1
 else
 	echo $GREEN "[YES]" $COL_RESET
@@ -126,6 +129,7 @@ ${CC} "$TMP.c" -o "$TMP" &>"$TMP.log"
 
 if [ ! -x "$TMP" ]; then
 	echo $RED "[NO]" $COL_RESET
+	cat "$TMP.log"
 	MISSING_DEFS=1
 else
 	echo $GREEN "[YES]" $COL_RESET
@@ -153,6 +157,7 @@ ${CC} "$TMP.c" -o "$TMP" &>"$TMP.log"
 
 if [ ! -x "$TMP" ]; then
 	echo $RED "[NO]" $COL_RESET
+	cat "$TMP.log"
 	MISSING_DEFS=1
 else
 	echo $GREEN "[YES]" $COL_RESET
@@ -180,6 +185,7 @@ ${CC} "$TMP.c" -o "$TMP" &>"$TMP.log"
 
 if [ ! -x "$TMP" ]; then
 	echo $RED "[NO]" $COL_RESET
+	cat "$TMP.log"
 	MISSING_DEFS=1
 else
 	echo $GREEN "[YES]" $COL_RESET
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux