-echo " the executable works (\"runs\") as expected --+"
-echo " tests run successfully (\"make check\") --+ |"
-echo " ngIRCd compiles (\"make\") --+ | |"
-echo " ./configure works --+ | | |"
-echo " | | | |"
-echo "Platform Compiler ngIRCd Date Tester C M T R See"
-echo "--------------------------- ------------ ---------- -------- ------ - - - - ---"
-printf "%-27s %-12s %-10s %s %-6s %s %s %s %s%s" \
- "$PLATFORM" "$COMPILER" "$VERSION" "$DATE" "$USER" \
- "$C" "$M" "$T" "$R" "$COMMENT"
-echo; echo
+echo " the executable works (\"runs\") as expected --+"
+echo " tests run successfully (\"make check\") --+ |"
+echo " ngIRCd compiles (\"make\") --+ | |"
+echo " ./configure works --+ | | |"
+echo " | | | |"
+echo "Platform Compiler ngIRCd Date Tester C M T R *"
+echo "--------------------------- ------------ ---------- -------- -------- - - - - -"
+command -v printf >/dev/null 2>&1
+if [ $? -eq 0 ]; then
+ printf "%-27s %-12s %-10s %s %-8s %s %s %s %s%s\n" \
+ "$PLATFORM" "$COMPILER" "$VERSION" "$DATE" "$LOGNAME" \
+ "$C" "$M" "$T" "$R" "$COMMENT"
+else
+ echo "$PLATFORM $COMPILER $VERSION $DATE $LOGNAME" \
+ "$C" "$M" "$T" "$R" "$COMMENT"
+fi
+echo
+
+double_check() {
+ echo "Please double check that the ngIRCd daemon starts up, runs and handles IRC"
+ echo "connections successfully!"
+}
+
+if [ "$R_CHECK_Y" = "y" ]; then
+ echo "WARNING: Some tests have been skipped!"
+ double_check
+ echo
+fi
+if [ "$R" = "?" ]; then
+ echo "WARNING: The resulting binary passed simple tests, but the test suite failed!"
+ double_check
+ echo
+fi