summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-12-03 06:29:10 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-12-03 06:29:10 +0000
commit71fb9ff204344d79ab4b31b6a2899d560fb85ff4 (patch)
treebf2b4c70e104e4bbdd3fbe6d36bd2a2d0a3ea61a /autogen.sh
parent942eee8a1cd189fbf3d1cd9233e9de1fe8ad5360 (diff)
downloadflac-71fb9ff204344d79ab4b31b6a2899d560fb85ff4.tar.gz
minor comments
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh21
1 files changed, 20 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 39cabf4a..a7974b4e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,22 @@
#!/bin/sh
-aclocal && autoconf && autoheader && automake --foreign --include-deps --add-missing --copy
+# 'hacks' is the place to put some commands you may need. There are at
+# least two that seem to be necessary in some situations:
+#
+# 1. Some (newer?) versions automake --add-missing --copy do not copy
+# in ltmain.sh, maybe because this is now supposed to be done by
+# libtoolize.
+# 2. FLAC uses iconv but not gettext. iconv requires config.rpath which
+# is supplied by gettext, which is copied in by gettextize. But we
+# can't run gettextize since we do not fulfill all it's requirements
+# (since we don't use it).
+#
+# If both these apply try:
+#
+#hacks=cp /usr/share/libtool/ltmain.sh . && cp /usr/share/gettext/config.rpath .
+#
+# Otherwise, this is the no-op:
+hacks=true
+#
+
+aclocal && autoconf && autoheader && $hacks && automake --foreign --include-deps --add-missing --copy