Andrea Canciani
afcbb7a2c5
build: Do not replace existing files
...
The existing INSTALL file is currently being replaced at every
autogen.sh run with the default one.
This is not desired, because INSTALL contains some cairo-specific
information.
2012-05-26 16:04:33 +02:00
Andrea Canciani
38d03ea748
build: Allow autogen-eration on systems without GTK-doc
...
The autogen.sh script fails if it cannot run gtkdocize. The absence of
this command should not cause cairo builds to fail, it should only
prevent the build of its documentation.
Fixes:
*** No GTK-Doc found, please install it ***
on systems without gtkdoc tools.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50356
2012-05-26 16:03:00 +02:00
Javier Jardón
7b25b2eb4b
autogen.sh: User autoreconf instead custom script
2012-04-14 15:04:19 +01:00
M Joonas Pihlaja
97529a3713
build: Avoid shifting shell parameters that aren't there.
...
The shift primitive of the Solaris 9 Bourne shell doesn't like
it if we try to shift more formal arguments than are there.
This causes the compare_versions function in autogen.sh to croak when
the actual and compared versions differ in the number of
components.
2010-07-12 00:49:57 +03:00
Colin Walters
292423c733
Support NOCONFIGURE environment variable
...
This is taken from gnome-common; it can be convenient for builders
to separate the autogen from the configure stage.
2010-07-08 03:32:52 +02:00
Behdad Esfahbod
23b9767bb3
Rename Makefile.*.config to Makefile.*.features as they should not be modified
...
The .config naming was giving people the impression that they can modify it.
That's not the case.
2008-09-22 17:34:36 -04:00
Behdad Esfahbod
d857c4d765
[autogen.sh] Remove --enable-gtk-doc from configure options
...
Cause cworth doesn't like it.
2008-09-16 19:56:47 -04:00
Behdad Esfahbod
20daa425d8
[configure.ac] Generate boilerplate/Makefile.am.config
...
Same scheme as in src/
2008-09-16 03:58:19 -04:00
Chris Wilson
b24d2e4214
[autogen] Delete Makefile.am.config
...
Cause the Makefile.am.config to be regenerated every time as its contents
may be invalid for the current run - e.g. if a developer is switching
between branches with experimental surfaces.
2008-09-15 17:18:51 +01:00
Behdad Esfahbod
694fee9e7c
Update gtk-doc makefile fragment
...
Also move it to build/.
We still do not call gtkdocize from autogen.sh.
2008-09-11 16:38:12 -04:00
Behdad Esfahbod
90210ac4ac
[autogen.sh] Quote ORIGDIR
2008-09-11 15:31:28 -04:00
Behdad Esfahbod
b7a838261b
Move m4 macros into build/aclocal.*.m4 files
2008-09-11 04:17:43 -04:00
Behdad Esfahbod
4059d356b8
[autogen.sh] Make libtoolize silent
2008-09-10 17:22:05 -04:00
Behdad Esfahbod
c9a90a808d
[autogen.sh] Make sure ChangeLog exists
2008-09-09 14:37:10 -04:00
Behdad Esfahbod
f84e7b6e65
[configure.ac] Opt for more automake warnings and checks
2008-09-08 15:10:06 -04:00
Behdad Esfahbod
4edfdb4b15
Rename build/*.ac to build/configure.ac.*.
...
Also rename configure.in to configure.ac (finally)
configure.in -> configure.ac
build/analysis.ac -> build/configure.ac.analysis
build/enable.ac -> build/configure.ac.enable
build/system.ac -> build/configure.ac.system
build/tools.ac -> build/configure.ac.tools
build/version.ac -> build/configure.ac.version
build/warnings.ac -> build/configure.ac.warnings
2008-09-04 22:33:52 -04:00
Behdad Esfahbod
7ad076442d
Rename src/*.mk to src/Makefile.*
...
Namely:
src/Sources.mk -> src/Makefile.sources
src/Config.mk -> src/Makefile.am.config
src/Config.mk.win32 -> src/Makefile.win32.config
2008-09-04 22:23:42 -04:00
Behdad Esfahbod
c16b4520ec
[autogen.sh] Only search in build/*.ac
2008-09-04 09:07:52 -04:00
Chris Wilson
f92c7c2b25
[autogen] Check build/ for versions.
...
Add the build/*.mk to extract_version() so that it correctly identifies
our requirements.
2008-09-04 03:06:58 +01:00
Behdad Esfahbod
af0069c1c4
[autogen.sh] Create dummy src/Config.mk so we can bootstrap
2008-09-02 21:31:47 -04:00
Behdad Esfahbod
82303d6170
[autogen.sh] Handle case of no aclocal found
2008-08-28 14:40:56 -04:00
Behdad Esfahbod
50b2076a54
[autogen.sh] Prefer glibtoolize to libtoolize if available
...
Makes OS X users happy.
2008-08-27 17:59:13 -04:00
Chris Heath
189feaf352
[autogen.sh] Tolerate tput failure ( #12757 )
2007-10-15 17:31:50 -04:00
Behdad Esfahbod
814295f5fa
[autogen.sh] Add --enable-test-surfaces to configure flags
...
Also remove --enable-maintainer-mode since we removed AM_MAINTAINER_MODE
from configure.in in b0d05f7421 .
2007-04-03 15:37:40 -04:00
Chris Wilson
38c9909e29
[autogen.sh] Borrow version comparison from GNOME autogen.sh ( #9566 )
...
Our previous version check code was thinking that 1.10 is older than 1.7
2007-04-03 15:34:30 -04:00
Behdad Esfahbod
bc983700c4
[autogen.sh] Make sed script portable
2006-10-29 14:50:09 -05:00
Behdad Esfahbod
f85aca4c3f
Make autogen.sh extract required versions from configure.in
2006-10-25 16:07:34 -04:00
Carl Worth
8a25471c25
autogen.sh: Require automake version 1.9
...
This is the first version of automake to support a slash in SUBDIRS, (as
used by the recent addition of cairo/boilerplate). Thanks to Frederic Peters
for pointing this out (fixes bug #8152 ).
2006-09-06 14:20:24 -07:00
Behdad Esfahbod
88675958ef
Remove config.cache in autogen.sh.
2006-07-31 01:03:15 -04:00
Behdad Esfahbod
83a8a50735
Pass --cache-file=config.cache and --disable-static to configure from
...
autogen.sh.
2006-06-21 19:57:40 -04:00
Carl Worth
d0e02a948e
autogen.sh: Pass --foreign option to automake so that it doesn't
...
complain that ChangeLog does not exist.
2006-02-24 09:18:17 -08:00
Owen Taylor
b217f95fa0
Set LC_ALL=C rather than LANG and LC_NUMERIC to be robust against whatever settings the user has. (Martin Dobias)
2005-08-22 08:33:54 +00:00
Owen Taylor
d93d56caef
Check automake-<ver> if automake isn't sufficiently new. ( #3593 , Philip Van Hoof)
2005-08-21 11:23:58 +00:00
Owen Taylor
2396b502a5
When invoked as, say, ../autogen.sh, switch to the sourcedir to run the auto*. Based on corresponding code in GTK+'s autogen.sh. ( #3402 , Thomas Fitzsimmons)
...
Update from gtk-doc CVS, bringing in some minor output changes. (Eliminate the *** from the messages that don't indicate errors.)
Use += for EXTRA_DIST, since gtk-doc.make already defines it.
2005-08-21 09:57:19 +00:00
Carl Worth
549b7ff2a6
Bump automake_min_vers up to 1.7 since we clearly don't work with 1.4 anymore.
2005-08-05 15:01:55 +00:00
Carl Worth
173bc22a62
Replace errant use of aclocal with , as reported by Martin Hedenfalk. Closes bug #3000 .
2005-04-12 11:50:25 +00:00
Carl Worth
2cd01deb4d
Use LC_NUMERIC=C so that decimal separator works in version checks.
2005-02-13 11:57:52 +00:00
Owen Taylor
0f5b7d82de
configure.in Makefile.am docs/Makefile.am docs/public/*: Add framework for doing docs via gtk-doc.
...
src/cairo.[ch] src/cairo-matrix.c: Add some inline docs for arcs and matrices.
gtk-doc.m4 acinclude.m4: Check in files from gtk-doc to make the dependency on gtk-doc optional.
Add --enable-gtk-doc to the default args.
2005-01-27 11:35:25 +00:00
Carl Worth
8ffb7df16c
Change "head -1" to more standard "head -n 1".
2004-12-21 12:57:33 +00:00
Carl Worth
d8b24a4ee0
automake 1.4 seems to be sufficient. Don't require 1.6.
2004-10-13 08:18:38 +00:00
Carl Worth
7abd103d2e
Require automake 1.6 rather than 1.7 since it seems to work just fine.
2004-09-11 13:29:59 +00:00
Carl Worth
adabb18408
Explicitly set LANG=C to fix the awk string->number conversion for user with locales that don't match ASCII digit conventions.
2004-08-14 06:35:30 +00:00
Dave Beckett
63468474d7
Report versions of commands on failure. Try to get version numbers from newer GNU --version formats.
2004-07-09 12:47:06 +00:00
Dave Beckett
2277d8fd4f
Require automake 1.7 (and thus aclocal 1.7) which requires autoconf 2.54. Changed since newer libtools may fail to work with older automake versions such as 1.4. I bet this will annoy people with older tool chains :(
2004-07-09 09:16:41 +00:00
Carl Worth
97666464c0
Allow names of all autofoo programs to be overridden via environment variables.
2003-12-05 10:30:39 +00:00
Carl Worth
48db57aea6
Added better warning if pkg-config is not installed. Add --enable-maintainer-mode to autogen.sh
2003-08-18 18:52:46 +00:00
Carl Worth
ee738deaf6
Switched to autotools. Dropped XrPush/PopGroup. Supports non-X Xc rendering.
2003-04-17 13:24:29 +00:00