~ubuntu-branches/ubuntu/karmic/flac/karmic

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-01-08 15:08:22 UTC
  • mto: (8.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050108150822-yvinilrafylazcyv
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
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:
5
 
#
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
8
 
#    libtoolize.
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:
 
8
#
 
9
# - autoconf 2.59
 
10
# - automake 1.8.5
 
11
# - libtool 1.5.6
 
12
#
 
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.
 
16
#
 
17
# If you don't have XMMS installed at all, you should comment out
 
18
# AM_PATH_XMMS in configure.in.
 
19
#
 
20
# 'hacks' is the place to put some commands you may need.  There is one
 
21
# that seems to be necessary in some situations:
 
22
#
 
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).
13
 
#
14
 
# If both these apply try:
15
 
#
16
 
#hacks="cp /usr/share/libtool/ltmain.sh . && cp /usr/share/gettext/config.rpath ."
 
26
#    (because we don't use it).
 
27
#
 
28
# If the default doesn't work, try:
 
29
#
 
30
#hacks="cp /usr/share/gettext/config.rpath ."
17
31
#
18
32
# Otherwise, this is the no-op:
19
33
hacks=true
20
34
#
 
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:
 
38
#
 
39
#   http://lists.gnu.org/archive/html/libtool/2003-11/msg00131.html
 
40
#
21
41
 
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