Commit graph

61 commits

Author SHA1 Message Date
Behdad Esfahbod
9e2ef481aa [configure.ac] Clean up report syntax 2008-09-16 19:45:02 -04:00
Behdad Esfahbod
2161cb5baf [configure.ac] Warn if no native surface backend is enabled, err if no native font 2008-09-16 19:45:02 -04:00
Behdad Esfahbod
88a3998a1d [aclocal] Fix pkgconfig file collection 2008-09-16 03:58:21 -04:00
Behdad Esfahbod
6892daf77c Create cairo-features-win32.h 2008-09-16 03:58:20 -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
Behdad Esfahbod
eb092eadbb [configure] Add non-pkgconfig cflags/libs before substitution 2008-09-15 21:45:25 -04:00
Behdad Esfahbod
09d7eb6c35 [configure.ac.version] Quote m4_define arguments 2008-09-15 21:31:37 -04:00
Behdad Esfahbod
fb0bf16595 [aclocal] Don't use m4_defn
Apparently autoconf 2.59 on msys is not quite happy it
2008-09-15 19:21:03 -04:00
Behdad Esfahbod
879b5c7057 [aclocal] Move CAIRO_PARSE_VERSION to acinclude.m4
It belongs there as it includes other files.  It was breaking build
on older autoconf it seems.
2008-09-15 19:18:06 -04:00
Behdad Esfahbod
656b0e3ea7 [configure.ac] Avoid sed -i (#17563) 2008-09-15 19:17:27 -04:00
Behdad Esfahbod
bdb6f609d8 [configure.ac] Build -uninstalled.pc files 2008-09-15 18:03:50 -04:00
Behdad Esfahbod
93325a3f08 [configure.ac.enable] Cleanup Makefile.*.config generation 2008-09-11 19:12:31 -04:00
Behdad Esfahbod
66d6cb642c [Makefile.am.common] Unify more common rules 2008-09-11 18:06:57 -04: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
de5b8bce37 Makefile.am cleanup
Use a common build/Makefile.am.common file.
2008-09-11 15:49:09 -04:00
Behdad Esfahbod
66f0d56a8a [aclocal.enable.m4] Escape shell arguments 2008-09-11 15:31:28 -04:00
Behdad Esfahbod
2b4a26f097 [configure.ac] Add CAIRO_BEGINEND_DECLS 2008-09-11 04:21:29 -04:00
Behdad Esfahbod
b7a838261b Move m4 macros into build/aclocal.*.m4 files 2008-09-11 04:17:43 -04:00
Behdad Esfahbod
ac6e4b83e7 [configure.ac.enable] Use AS_CASE 2008-09-11 03:45:51 -04:00
Behdad Esfahbod
7c4fdafc8c [configure.ac.enable] Add some dnl's 2008-09-11 03:30:25 -04:00
Behdad Esfahbod
c358abfb15 [configure.ac.enable] Implement accumulators 2008-09-11 03:08:15 -04:00
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