It's nice to validate "real" use with a C compiler, but silly to completely fail validation just because a C compiler is missing.
6 lines
164 B
Text
6 lines
164 B
Text
if type cc >/dev/null 2>&1; then
|
|
redo-ifchange hello yellow bellow
|
|
else
|
|
echo "$0: No C compiler installed; skipping this test." >&2
|
|
redo-ifcreate /usr/bin/cc
|
|
fi
|