Commit Graph

17 Commits

Author SHA1 Message Date
Allan Odgaard
3bc0c65c7a Introduce variable for where cap’n’proto is installed
Set the `capnp_prefix` variable when calling ./configure.

E.g. build and install cap’n’proto in $HOME/build:

    ./configure --disable-shared --prefix="$HOME/build"
    make -j6 check && make install

Then configure TextMate to find it there:

    capnp_prefix="$HOME/build" ./configure
2014-03-30 11:18:41 +07:00
Allan Odgaard
9a6451da2c Create generated headers in configure script
Fixes #1136
2013-10-08 21:59:55 +02:00
Allan Odgaard
4909d2cf53 Remove last zero in version 2.0.0 → 2.0 2013-02-15 15:27:55 +01:00
Allan Odgaard
17bba51035 Include git commit and alpha tag in version string
This is primarily for better filtering of crash reports.
2012-09-19 00:11:11 +02:00
Allan Odgaard
2edbffcf29 Update configure script
1. Default SDK set to 10.8 (since we now use subscript operators).
3. Version is tagged (by default) with “-git”. Not too happy about this, but I need a way to filter out “build from source” when analyzing crashes and similar. I’ll revise the solution later.
2. Revision only taken from api.textmate.org (no git fallback).
4. Only multimarkdown is a valid markdown compiler (due to recent changes in `bin/gen_html`).
2012-08-30 10:17:13 +02:00
Allan Odgaard
8a5fb16367 Let configure create DefaultBundles.tbz
Motivated by a lot of “where is the syntax highlight?” questions from users that build from source, we now always create the DefaultBundles.tbz (if it doesn’t exist).
2012-08-16 11:46:15 +02:00
Adam Strzelecki
5fbf567820 When $builddir is relative path, pass absolute path to fixtures makefile. 2012-08-15 02:41:15 +02:00
Adam Strzelecki
4354febdbc Test all versions of clang for “new enough” 2012-08-15 01:18:39 +02:00
Cody Krieger
df84fa92d4 Set a blank SDK path if the 10.7 SDK isn't found.
This allows the project to build with the system default framework/include/library paths.
2012-08-13 19:36:20 +02:00
Clemens Lang
f29af22cff configure: exit with code != 0 on error
Using this allows other software to check whether configure was
successful.

This patch is public domain.
2012-08-12 22:26:59 +02:00
Fernando
a921f258e1 Don’t write to /tmp in configure
If another user (on the same system) builds TextMate then he blocks everyone else, as other users would be unable to overwrite /tmp/dummy.
2012-08-11 12:00:25 +02:00
David Caldwell
4ae46a5349 Also check for boost in $CPATH
This way it can be installed anywhere as long as the C compiler can find it.
2012-08-10 13:27:24 +02:00
Allan Odgaard
67c17d838b Move git clone + submodule update to README.
A few people were reporting build issues because they downloaded the source and thus lacked the submodules.
2012-08-10 11:01:32 +02:00
Allan Odgaard
a94ad3cc4c Also check brew for clang and boost dir.
We now prefer Apple’s clang over MacPorts/homebrew. This is because clang on Lion (with latest Xcode) should be recent enough to build TextMate.
2012-08-10 10:53:31 +02:00
Allan Odgaard
845bb96f5b Output full path to compiler used.
This should make it easier to troubleshoot when people report they have latest clang but get a “too old” failure, e.g. issue #45.
2012-08-10 10:05:23 +02:00
Allan Odgaard
767448f9e9 Use xcrun to locate Apple’s clang. 2012-08-09 19:30:21 +02:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00