Commit graph

240 commits

Author SHA1 Message Date
Behdad Esfahbod
1efb5e0810 [configure.ac.enable] Don't collect .pc files for builtin features 2008-09-11 01:15:01 -04:00
Behdad Esfahbod
391bef58fc Add support for always-builtin features in the build system
Like image surface and user fonts.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
4a01b1d9c9 Build -uninstalled.pc files 2008-09-11 00:38:30 -04:00
Behdad Esfahbod
a18c75c3e9 [configure.ac.enable] More fixes for private features
Don't expect pkgconfig files for them.  Also, don't give them a chance
to install public headers.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
771ff1a06e [configure.ac.enable] Don't collect .pc files in win32 Makefile
We only generate them using autotools.  No point.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
59fafcee8d [configure.ac.build] Keep private features private
For private features:

  - Don't list them in cairo-features.h;  Define them in config.h instead,
  - Don't generate/install a .pc file,
  - Don't warn if enabled.
2008-09-10 18:23:45 -04:00
Behdad Esfahbod
9016504e2a [configure.ac.enable] Don't report CFLAGS
It's long and not that useful.
2008-09-10 17:22:49 -04:00
Behdad Esfahbod
5e5a2b9da7 More fixes for pkgconfig files
Should all work now.
2008-09-10 12:41:57 -04:00
Behdad Esfahbod
95214e80a5 [configure.ac.enable] Fix warning messages 2008-09-10 12:19:21 -04:00
Behdad Esfahbod
9dd9289c4a Rename cairo-backend.pc.in to cairo-features.pc.in 2008-09-10 12:18:27 -04:00
Behdad Esfahbod
cf71e7c39b [configure.ac.enable] Actually install pkgconfig files
Oops.  Reported by Shunichi Fuji.
2008-09-10 12:15:20 -04:00
Behdad Esfahbod
a374b349bf [configure.ac.enable] Make feature hooks take an ENABLED argument
Simplifies code.
2008-09-08 15:02:56 -04:00
Behdad Esfahbod
cdee34c5b7 Back to using autoconf 2.58 2008-09-07 17:01:33 -04:00
Behdad Esfahbod
c3b05a796e [configure.ac.enable] Sanitize feature default value 2008-09-06 18:02:21 -04:00
Behdad Esfahbod
c881226afd [configure.ac.enable] Further break feature configuration hooks 2008-09-06 17:44:19 -04:00
Behdad Esfahbod
31b09965b7 [configure.ac.enable] Move macros around 2008-09-06 17:44:19 -04:00
Behdad Esfahbod
e19103e38d [configure.ac.enable] Redo cache invalidation to be automatic 2008-09-06 17:44:19 -04:00
Behdad Esfahbod
d520d5432b [configure.ac.enable] Simplify _CAIRO_ENABLE_FULL 2008-09-06 17:44:19 -04:00
Behdad Esfahbod
ee97873e0d [configure.ac.bulid] Break feature config into smaller hooks 2008-09-06 17:44:18 -04:00
Behdad Esfahbod
3ed9787f43 [configure.ac.enable] Add CAIRO_FEATURE_IF_ENABLED 2008-09-06 17:44:18 -04:00
Behdad Esfahbod
aba88e3437 [configure.ac.enable] Move all feature configureation to a single hook
To be broken up in followup commits.
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
7d39e4cbd7 [configure.ac.enable] Add all-powerful hook registration macro 2008-09-06 17:44:18 -04:00
Behdad Esfahbod
eddb3f6a84 [configure.ac.enable] More macro cleanup 2008-09-06 17:44:17 -04:00
Behdad Esfahbod
96e45e6779 [configure.ac] Cosmetic 2008-09-06 17:44:17 -04:00
Behdad Esfahbod
4edda79e71 [configure.ac] Sanitize feature names 2008-09-06 17:44:17 -04:00
Behdad Esfahbod
620e19e849 [configure.ac] Add AM_PROG_CC_C_O
Needed for per-target flags in test/Makefile.am
2008-09-04 23:09:58 -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
49f060252a Rename build/*.mk to build/Makefile.am.*
Namely:

	build/Analysis.mk  -> build/Makefile.am.analysis
	build/ChangeLog.mk -> build/Makefile.am.changelog
	build/Releasing.mk -> build/Makefile.am.releasing
2008-09-04 22:27:03 -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
8da361470f [configure.in] Forbid arbitrary CAIRO_ patterns in the output 2008-09-04 21:59:27 -04:00
Behdad Esfahbod
33ed2fffb5 [build/enable.ac] Add a feature "type" argument (font, surface, ...) 2008-09-04 21:13:39 -04:00
Behdad Esfahbod
86ef1dff59 [configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones 2008-09-04 19:50:32 -04:00
Behdad Esfahbod
4a96eb79ce [build/enable.ac] Reformat for readability 2008-09-04 17:50:15 -04:00
Behdad Esfahbod
c28882728c [configure.in] Remove unused variables 2008-09-04 17:22:07 -04:00
Behdad Esfahbod
47547cf051 [configure.in] Move report generation to build/enable.ac 2008-09-04 16:41:51 -04:00
Behdad Esfahbod
37f82a4d1b Get rid of CAIRO_LDADD in favor of CAIRO_LIBS 2008-09-04 16:13:05 -04:00
Behdad Esfahbod
44155f7e59 Cleanup configure.in macros 2008-09-04 16:08:41 -04:00
Behdad Esfahbod
b1ced45f06 [doc] Fix out-of-tree build 2008-09-03 20:52:12 -04:00
Behdad Esfahbod
5c45aa1308 [configure.in] Split in various files
Now the configure.in file mostly holds the backend enabling logic.
The usual cruft has been moved in smaller files named build/*.ac.
2008-09-03 20:06:26 -04:00
Behdad Esfahbod
06ec8b7743 Move some top-level build files into build/ 2008-09-03 19:09:57 -04:00