2 # Script to silence win32 and perl build by displaying a neat one-line notice
3 # instead of full command contents when executing compilers.
5 # Written by Tomek Wasilczyk <tomkiewicz@cpw.pidgin.im>, licensed under GNU GPL
15 if [ "$found" == 1 ]; then
19 if [ "$arg" == "-o" ]; then
22 if [ "$tag" == "auto" ] && [ "$arg" == "-shared" ]; then
25 ext_1
=${arg#${arg%??}}
26 if [ "${ext_1}" == ".c" ]; then
29 ext_2
=${arg#${arg%???}}
30 if [ "${ext_2}" == ".xs" ]; then
33 ext_3
=${arg#${arg%????}}
34 if [ "${ext_3}" == ".3pm" ]; then
39 if [ "$tag" == "auto" ]; then
43 if [ "$object" == "" ] && [ "${file_1}" != "" ]; then
46 if [ "$object" == "" ] && [ "${file_2}" != "" ]; then
51 if [ "$object" == "" ]; then
54 echo -e " $tag\t$object" >&2