2263625dcccb37b2cc7395fc0eae22b0e6fb4bd4
[platform/upstream/flac.git] / autogen.sh
1 #!/bin/sh
2
3 # 'hacks' is the place to put some commands you may need.  There is one
4 # that seems to be necessary in some situations:
5 #
6 #  * FLAC uses iconv but not gettext.  iconv requires config.rpath which
7 #    is supplied by gettext, which is copied in by gettextize.  But we
8 #    can't run gettextize since we do not fulfill all it's requirements
9 #    (because we don't use it).
10 #
11 # If the default doesn't work, try:
12 #
13 #hacks="cp /usr/share/gettext/config.rpath ."
14 #
15 # Otherwise, this is the no-op:
16 hacks=true
17 #
18
19 aclocal && libtoolize && autoconf && autoheader && $hacks && automake --foreign --include-deps --add-missing --copy