Mercurial > pidgin.yaz
comparison autogen.sh @ 22582:bc8768537a85
Hush you noisy little script
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 31 Mar 2008 14:55:42 +0000 |
parents | 4074bfe17e6c |
children | 34111ec2a6eb |
comparison
equal
deleted
inserted
replaced
22581:4fe5f8839f56 | 22582:bc8768537a85 |
---|---|
53 ############################################################################### | 53 ############################################################################### |
54 check () { | 54 check () { |
55 CMD=$1 | 55 CMD=$1 |
56 | 56 |
57 echo -n "checking for ${CMD}... " | 57 echo -n "checking for ${CMD}... " |
58 BIN=`which ${CMD}` | 58 BIN=`which ${CMD} 2> /dev/null` |
59 | 59 |
60 if [ x"${BIN}" = x"" ] ; then | 60 if [ x"${BIN}" = x"" ] ; then |
61 echo "not found." | 61 echo "not found." |
62 echo "${CMD} is required to build ${PACKAGE}!" | 62 echo "${CMD} is required to build ${PACKAGE}!" |
63 exit 1; | 63 exit 1; |
85 } | 85 } |
86 | 86 |
87 ############################################################################### | 87 ############################################################################### |
88 # We really start here, yes, very sneaky! | 88 # We really start here, yes, very sneaky! |
89 ############################################################################### | 89 ############################################################################### |
90 FIGLET=`which figlet` | 90 FIGLET=`which figlet 2> /dev/null` |
91 if [ x"${FIGLET}" != x"" ] ; then | 91 if [ x"${FIGLET}" != x"" ] ; then |
92 ${FIGLET} -f small ${PACKAGE} | 92 ${FIGLET} -f small ${PACKAGE} |
93 echo "build system is being generated" | 93 echo "build system is being generated" |
94 else | 94 else |
95 echo "autogenerating build system for '${PACKAGE}'" | 95 echo "autogenerating build system for '${PACKAGE}'" |