Commit Graph
7 Commits
Author SHA1 Message Date
Emmanuele Bassi 48ee13ed3c Define a macro directory in the autotools build
As libtool suggest we do; this also allows using ACLOCAL_AMFLAGS inside
build that create a separate environment with their own m4 macros, like
jhbuild and Cerberus.

In order to avoid a warning from autoreconf, we create the empty macros
directory during the autogen.sh step; aclocal would create the directory
for us anyway, but different versions of autotools may have different
behaviours.

Closes: #58
2017-02-10 11:23:35 +00:00
Emmanuele Bassi aef80bc9e1 build: Ensure that autogen exits with the right code
Since autogen.sh calls other commands that may fail, we should return
the exit code from those commands.
2017-01-31 12:59:46 +00:00
Emmanuele Bassi 0f7f16b732 build: Protect paths from spaces
Completes commit 83cfa6a1b5b665ec99f5bbd44650b4816ba8fef5.
2017-01-25 12:28:29 +00:00
Martin Castillo 7e9e12f41d fixes 'cd error' in autogen.sh
If a parent directory of the libepoxy source dir contains a space,
'cd' in line 10 fails.
2017-01-18 14:29:04 +00:00
Emmanuele Bassi 8dead45cb3 Revert all changes since 8bbc0d40
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.

Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.

From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
2016-12-07 14:45:14 +00:00
Emmanuele Bassi 04387bc188 build: Force replacing autotools generated files
If the '--force' switch is not passed to autoreconf, the autotools will
try to reuse the generated files committed in the Git repo, which hard
code the names and versions of the tools originally used to generate
them.
2016-11-07 19:34:01 +00:00
Eric Anholt a909eb4a22 Add the generator and build infrastructure.
Not actually working yet, but it's a snapshot to start from.
2013-10-16 11:43:11 -07:00