slcanpty: probe stdin capabilities at startup
[profile/ivi/can-utils.git] / autogen.sh
1 #!/bin/bash
2
3 #
4 # usage:
5 #
6 # banner <target name>
7 #
8 banner() {
9         echo
10         TG=`echo $1 | sed -e "s,/.*/,,g"`
11         LINE=`echo $TG |sed -e "s/./-/g"`
12         echo $LINE
13         echo $TG
14         echo $LINE
15         echo
16 }
17
18 banner "autoreconf"
19
20 autoreconf --force --install --symlink -Wall || exit $?
21
22 banner "Finished"