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
24 # is supplied by gettext, which is copied in by gettextize. But we
25 # can't run gettextize since we do not fulfill all it's requirements
26 # (because we don't use it).
28 # If the default doesn't work, try:
30 #hacks="cp /usr/share/gettext/config.rpath ."
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
42 aclocal -I m4 && libtoolize && autoconf && autoheader && $hacks && automake --foreign --include-deps --add-missing --copy