3
# 'hacks' is the place to put some commands you may need. There are at
4
# least two that seem to be necessary in some situations:
6
# 1. Some (newer?) versions automake --add-missing --copy do not copy
7
# in ltmain.sh, maybe because this is now supposed to be done by
9
# 2. FLAC uses iconv but not gettext. iconv requires config.rpath which
3
# FLAC needs relatively recent versions of autotools for autogen.sh to
4
# run properly. For example, if your autoconf is too old, it will not
5
# check for inttypes.h and compilation will fail later. If you are
6
# having problems with autogen.sh it is best to upgrade to at least the
7
# following if possible:
13
# You may need to specify -I /SOME_PATH/share/aclocal if the packages
14
# FLAC relies on (autotools, libogg, libiconv) are installed in
15
# non-standard places.
17
# If you don't have XMMS installed at all, you should comment out
18
# AM_PATH_XMMS in configure.in.
20
# 'hacks' is the place to put some commands you may need. There is one
21
# that seems to be necessary in some situations:
23
# * FLAC uses iconv but not gettext. iconv requires config.rpath which
10
24
# is supplied by gettext, which is copied in by gettextize. But we
11
25
# can't run gettextize since we do not fulfill all it's requirements
12
# (since we don't use it).
14
# If both these apply try:
16
#hacks="cp /usr/share/libtool/ltmain.sh . && cp /usr/share/gettext/config.rpath ."
26
# (because we don't use it).
28
# If the default doesn't work, try:
30
#hacks="cp /usr/share/gettext/config.rpath ."
18
32
# Otherwise, this is the no-op:
35
# Also watchout, if you replace ltmain.sh, there is a bug in some
36
# versions of libtool (or maybe autoconf) on some platforms where the
37
# configure-generated libtool does not have $SED defined. See also:
39
# http://lists.gnu.org/archive/html/libtool/2003-11/msg00131.html
22
aclocal && autoconf && autoheader && $hacks && automake --foreign --include-deps --add-missing --copy
42
aclocal && libtoolize && autoconf && autoheader && $hacks && automake --foreign --include-deps --add-missing --copy