File: autogen.sh

package info (click to toggle)
dvbstreamer 2.1.0-5.8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 5,676 kB
  • sloc: ansic: 42,193; sh: 10,230; python: 519; makefile: 363
file content (25 lines) | stat: -rwxr-xr-x 680 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
echo processing $srcdir

(
cd $srcdir
aclocalinclude="$ACLOCAL_FLAGS"
echo "Creating $srcdir/aclocal.m4 ..."
test -r $srcdir/aclocal.m4 || touch $srcdir/aclocal.m4
echo "Making $srcdir/aclocal.m4 writable ..."
test -r $srcdir/aclocal.m4 && chmod u+w $srcdir/aclocal.m4
echo "Running libtoolize..."
libtoolize --force --copy
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude
echo "Running autoheader..."
autoheader
echo "Running automake --gnu $am_opt ..."
automake --add-missing --force --copy --gnu $am_opt
echo "Running autoconf ..."
autoconf
)