summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAaron Bockover <abock@gnome.org>2008-10-19 04:37:03 +0000
committerAaron Bockover <abock@src.gnome.org>2008-10-19 04:37:03 +0000
commitd62c73f17b105d9e68ef9e71c85c1420a2f6f53b (patch)
treebaf8d2b69e1b7f2e58e6d7a5b3e528613ffcde5b /autogen.sh
parent28eb4a97d71473067c0d4305e273a1be0105b25d (diff)
This commit adds preliminary build scripts/environment/directions for
2008-10-19 Aaron Bockover <abock@gnome.org> This commit adds preliminary build scripts/environment/directions for building Banshee on OS X, based heavily on Eoin's great work on porting Banshee to OS X. Banshee does not actually build yet on OS X with this commit, so don't try. This is phase one of merging Eoin's great work into our trunk. * build/osx/*: Scripts and an awesome README for building on OS X * autogen.osx.sh: Helper to call into the real OS X autogen wrapper svn path=/trunk/banshee/; revision=4701
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index d8b4f72bb..eff796a45 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -50,17 +50,19 @@ test -z "$srcdir" && srcdir=.
error "Directory \"$srcdir\" does not look like the top-level $PROJECT directory"
}
+# MacPorts on OS X only seems to have glibtoolize
+LIBTOOLIZE=$(basename $(which libtoolize || which glibtoolize))
+
check_autotool_version aclocal 1.9
check_autotool_version automake 1.9
check_autotool_version autoconf 2.53
-check_autotool_version libtoolize 1.4.3
+check_autotool_version $LIBTOOLIZE 1.4.3
check_autotool_version glib-gettextize 2.0.0
check_autotool_version intltoolize 0.21.0
check_autotool_version pkg-config 0.14.0
-run libtoolize --force --copy
run glib-gettextize --force --copy
-run intltoolize --force --copy --automake
+run $LIBTOOLIZE --force --copy --automake
run aclocal -I build/m4/banshee -I build/m4/shamrock $ACLOCAL_FLAGS
run autoconf
run autoheader