@@ -46,9 +46,9 @@ ENABLE_BUILD_DOCUMENTATION=--enable-build-documentation=pdf
46
46
47
47
while test $# -ne 0; do
48
48
case " $1 " in
49
- sim|uspace|noauto) echo " $1 is accepted for compatibility, but ignored" ;;
49
+ sim|uspace|noauto) echo " I: Argument $1 is accepted for compatibility, but ignored" ;;
50
50
no-docs) unset ENABLE_BUILD_DOCUMENTATION ;;
51
- * ) echo 1>&2 " Unknown option: $1 " ; exit 99 ;;
51
+ * ) echo 1>&2 " E: Unknown option: $1 " ; exit 99 ;;
52
52
esac
53
53
shift
54
54
done
@@ -109,9 +109,9 @@ case $DISTRIB_NAME in
109
109
Debian-10|Debian-10.* |Raspbian-10|Raspbian-10.* )
110
110
;;
111
111
* )
112
- echo " unknown distribution: $DISTRIB_NAME "
113
- echo " detected dependencies may be incomplete or wrong"
114
- echo " please consider fixing it and submitting a pull request"
112
+ echo " W: Unknown distribution: ' $DISTRIB_NAME '. "
113
+ echo " Detected dependencies may be incomplete or wrong. "
114
+ echo " Please consider fixing it and submitting a pull request. "
115
115
;;
116
116
esac
117
117
195
195
196
196
197
197
rm -f ../build-stamp
198
- echo " successfully configured for '$DISTRIB_NAME '.."
198
+ echo " I: Successfully configured for '$DISTRIB_NAME '.."
199
+
200
+ if which dpkg-checkbuilddeps > /dev/null; then
201
+ a=$( cd .. && dpkg-checkbuilddeps)
202
+ if [ -n " $a " ]; then
203
+ echo " W: To successfully build all of LinuxCNC, install the following build dependencies are mising:\n$a "
204
+ else
205
+ echo " I: No build dependencies missing."
206
+ fi
207
+ else
208
+ echo " W: Tool to check build-dependenices not found"
209
+ echo " You may want to install and run it as follows:"
210
+ echo " sudo apt install dpkg-dev"
211
+ echo " dpkg-checkbuilddeps"
212
+ fi
0 commit comments