File: buildconf

package info (click to toggle)
libapreq2-perl 2.04-dev-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,700 kB
  • ctags: 1,508
  • sloc: sh: 8,103; ansic: 5,557; perl: 2,842; cpp: 1,052; makefile: 234
file content (21 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh


echo "removing stale config files"
touch .deps
rm -f aclocal.m4
rm -f generated_lists
rm -rf autom4te*.cache

echo "checking buildconf prereqs";
perl build/version_check.pl libtool   || exit 1
perl build/version_check.pl autoconf  || exit 1
perl build/version_check.pl automake  || exit 1

libtool="libtoolize --automake --copy --force"
echo "running $libtool" && $libtool && \
echo "running aclocal"  && aclocal && \
echo "running autoconf" && autoconf && \
echo "running autoheader" && autoheader && \
echo "running automake -a -c" && automake -a -c && \
echo "buildconf successful."