]> git.donarmstrong.com Git - lilypond.git/blob - cygwin/mknetrel.auto
C
[lilypond.git] / cygwin / mknetrel.auto
1 # -*- shell-script -*-
2
3 #
4 # mknetrel.split -- autotools
5 #
6
7 autoupdate () {
8     if [ "$base" != "libtool" ]; then
9         if [ -d libltdl ]; then
10             rm -rf libltdl
11             libtoolize --force --copy --automake --ltdl
12         else
13             libtoolize --force --copy --automake
14         fi
15     fi
16
17     chmod +x ./bootstrap ./autogen.sh || :
18     if [ -x ./bootstrap ]; then
19         ./bootstrap --noconfigure
20     elif [ -x ./autogen.sh ]; then
21         ./autogen.sh --noconfigure
22     else
23         aclocal
24         autoheader
25         autoconf
26         automake --add-missing
27     fi
28     sed -i~ -e 's/ x$PKG_CONFIG / "$x$PKG_CONFIG" /' $src/configure
29 }