summaryrefslogtreecommitdiff
path: root/m4macros
AgeCommit message (Collapse)AuthorFilesLines
2017-09-29Imported Upstream version 2.53.2DongHun Kwak8-6/+10523
Change-Id: Ie5f62282cb6613e2c5cde213dd6b231f2c3ef0da Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-09-29Imported Upstream version 2.53.1DongHun Kwak8-10523/+6
Change-Id: Ib0e6300c6063e8d638e99eb22b58ddebf7768e79 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-09-29Imported Upstream version 2.52.3DongHun Kwak8-6/+10523
Change-Id: If358c3502e4820a888b34011119821ea38b2b563 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-05-19Imported Upstream version 2.52.1DongHun Kwak1-1/+48
Change-Id: Idca68df633e439e8492a9e0d40f78b49d689d84b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-05-19Imported Upstream version 2.50.3DongHun Kwak8-10522/+6
Change-Id: Ib95600d2b9af114ede0d7291f53745bf373c8b26 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-02-03Imported Upstream version 2.50.2upstream/2.50.2DongHun Kwak2-25/+10
Change-Id: I83acaeb7a15edec96b064845383396695b865613 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2016-05-10Imported Upstream version 2.48.0Ryan Lortie9-8/+10540
Change-Id: Ie8c1fa7173d48588524ed4e85cffd9e9af340d97 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2013-12-23Revert "gsettings m4: check for .xml in src/builddir"Colin Walters1-1/+1
This reverts commit b3593693d918f0ae97094f6712d817180b8eea6a. See: https://bugzilla.gnome.org/show_bug.cgi?id=712171#c3 See: https://bugzilla.gnome.org/show_bug.cgi?id=712171#c4 Tested using both srcdir == builddir and srcdir != builddir in hotssh. Conflicts: m4macros/gsettings.m4 https://bugzilla.gnome.org/show_bug.cgi?id=712630
2013-11-20Remove alleged support for last-millennium UnixesDan Winship1-4/+1
Remove workarounds for NeXTStep (last released in 1995), SunOS (1994), HP-UX 9.x (1992) and 10.x (1995), OSF/1 / Digital UNIX / Tru64 UNIX 4.x (1999), and AIX 4.x (1999). HP-UX 11 implements dlopen(), so dropping support for earlier versions also lets us remove the HP-UX-specific gmodule-dld. https://bugzilla.gnome.org/show_bug.cgi?id=710519
2013-11-18gsettings.m4: @GSETTINGS_RULES@: Support srcdir != builddir with ↵Colin Walters1-1/+1
nonrecursive make In hotssh I use nonrecursive make. gnome-continuous uses srcdir != builddir by default. @GSETTINGS_RULES@ will then attempt to touch a nonexistent path. This patch fixes that. https://bugzilla.gnome.org/show_bug.cgi?id=712171
2013-11-07configure: test(1) uses = to test for string equalityPatrick Welche1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=711600
2013-05-31Rework the build system for a new tests approachRyan Lortie2-1/+29
Perform a substantial cleanup of the build system with respect to building and installing testcases. First, Makefile.decl has been renamed glib.mk and substantially expanded. We intend to add more stuff here in the future, like canned rules for mkenums, marshallers, resources, etc. By default, tests are no longer compiled as part of 'make'. They will be built when 'make check' is run. The old behaviour can be obtained with --enable-always-build-tests. --disable-modular-tests is gone (because tests are no longer built by default). There is no longer any way to cause 'make check' to be a no-op, but that's not very useful anyway. A new glibtests.m4 file is introduced. Along with glib.mk, this provides for consistent handling of --enable-installed-tests and --enable-always-build-tests (mentioned above). Port our various test-installing Makefiles to the new framework. This patch substantially improves the situation in the toplevel tests/ directory. Things are now somewhat under control there. There were some tests being built that weren't even being run and we run those now. The long-running GObject performance tests in this directory have been removed from 'make check' because they take too long. As an experiment, 'make check' now runs the testcases on win32 builds, by default. We can't run them under gtester (since it uses a pipe to communicate with the subprocess) so just toss them in TESTS. Most of them are passing on win32. Things are not quite done here, but this patch is already a substantial improvement. More to come.
2013-05-15m4macros/glib-gettext.m4: Don't use AC_HEADER_STDCAdrian Bunk1-1/+0
AC_HEADER_STDC is obsolete (pre-C89 headers are no longer an issue), and the resulting STDC_HEADERS define is anyway not used. https://bugzilla.gnome.org/show_bug.cgi?id=700263
2012-11-02configure: Enable set of standard -Werror=foo flagsColin Walters1-0/+288
We're not going to depend on gnome-common (I assume) so this patch nicks the systemd macro to test for compiler flags, and uses it to set a similar set of -Werror=foo as the gnome-common one does. See https://bugzilla.gnome.org/show_bug.cgi?id=608953 See https://mail.gnome.org/archives/desktop-devel-list/2012-July/msg00100.html If we're going to be setting more strict compiler flags for GNOME, we should really ensure GLib builds with them first, as it's kind of the model citizen. In particular, you can see several times that downstreams such as Debian have come in and fixed -Wformat-security bugs. We should never let those get into tarballs, or even commits. https://bugzilla.gnome.org/show_bug.cgi?id=687385
2012-01-13Add GLIB_COMPILE_RESOURCES to glib m4 macrosAlexander Larsson1-0/+3
2011-10-04Fix DATADIRNAME on OpenBSD.Antoine Jacoutot1-0/+4
On OpenBSD translation files are always installed under PREFIX/share/locale, there is no such thing as PREFIX/lib/locale; according to that, set DATADIRNAME to "share".
2011-05-16m4macros/gsettings.m4: Use AS_HELP_STRING instead the deprecated AC_HELP_STRINGJavier Jardón1-1/+1
2011-03-31Improve .gitignoreRyan Lortie1-0/+1
2010-12-12Fix gsettings enum rule to work with non-srcdir buildsChristian Persch1-1/+1
Bug #635007.
2010-11-04gsettings.m4: Fix rules to work when there are no schemasDan Winship1-3/+5
If there are no schemas, don't try to install "" at install time. (In particular, automake conditionals don't work properly with @-expanded rules, so if you conditionally build a schema, you'll still unconditionally get the install rule.) https://bugzilla.gnome.org/show_bug.cgi?id=633381
2010-10-26gsettings m4: Use --strict for checkingRyan Lortie1-1/+1
A while ago we allowed glib-compile-schemas to return a 'success' status in the case that just one schema file contained errors. Of course, this is the exact opposite of what we want in the case that we are checking schema validity at compile time. Use the --strict flag for that case. This closes #633115.
2010-10-04Bug 627126 - gsettings schemas on FreeBSDRyan Lortie1-14/+2
Rewrite the install rule for GSettings schemas to not depend on an obscure chunk of non-portable sed that nobody understands the purpose of. Instead, use make's VPATH feature to resolve the paths of the files that need to be installed. No need to depend on the .valid targets here since automake already ensures that 'make all' is complete before 'make install' is permitted to run.
2010-09-23glib-2.0.m4: Use unsigned variables for version numbersBenjamin Otte1-4/+4
When using signed, we get complaints from gcc about comparing signed to unsigned with -Wsign-compare. And combined with -Werror in users' CFLAGS it breaks configure runs.
2010-08-03Update the Git ignore filesEmmanuele Bassi1-0/+5
2010-07-13rename configure.in to configure.acRyan Lortie1-2/+2
2010-06-30gsettings.m4: add support for enumsRyan Lortie1-6/+12
2010-06-28Bug 622565 - compile-schemas fails when no schemasRyan Lortie1-1/+1
Neutralise and deprecate the --uninstall option in the schema compiler and remove it from gsettings.m4. Make the new default behaviour a compromise between the old default behaviour and the previous --uninstall option: - never return a failure code if no schema files are found - issue a warning instead - remove the gschemas.compiled file if it exists
2010-06-18Conditional gsettings.m4 support, AC_PATH_PROGRyan Lortie1-2/+4
Add new support for conditional enabling of GSettings (as per bug #616718) and use AC_PATH_PROG instead of AC_PATH_TOOL (as per bug #621172).
2010-06-15Let GLIB_SETTINGS macro use glib-compile-schemas from PATH when cross compilingHib Eris1-1/+6
See bug #621172
2010-05-27gsettings m4: check for .xml in src/builddirRyan Lortie1-1/+1
This checks for the .gschema.xml file in the srcdir and builddir and runs the schema validation on which one it finds. This handles non-srcdir builds in both cases: .gschema.xml is in the tarball and .gschema.xml is generated.
2010-05-21add .SECONDARY: rule to preserve generated schemasRyan Lortie1-0/+2
If the .gschema.xml file was generated as the result of an implicit make rule then make would 'rm' it after creating the validity stamp. This would cause 'make install' to fail.
2010-05-19Add --uninstall option to glib-compile-schemasRyan Lortie1-1/+1
If --uninstall is given then don't give an error if the schema directory is empty. Instead, erase the gschemas.compiled file, if it exists. This is the right thing to do in the 'make uninstall' rule, where the schema directory could very well be left empty as a result. Modify gsettings.m4 to use this option.
2010-05-19Bug 619038 - increase gsettings.m4 powerRyan Lortie1-20/+51
handle schema checking, installation, uninstallation, cleaning
2010-05-15Use the new option nameChristian Persch1-1/+1
It's --schema-file now, not --schema-files. Bug #616864.
2010-05-14Fix issues with GSETTINGS_CHECK_RULEMatthias Clasen1-3/+2
Rename the --schema-files option to --schema-file, since it only accepts one file at a time. Change the GSETTINGS_CHECK_RULE to use it that way, too. And also make it work better with !srcdir builds. Bugs #616731 and #616864
2010-05-08Make GSETTINGS_CHECK_RULE work in !srcdir buildsMatthias Clasen1-1/+1
This problem was reported in bug 617823.
2010-04-23Rename gschema-compile to glib-compile-schemasMatthias Clasen1-4/+9
And clean up the autofoo a bit: use an uppercase variable, check for pkg-config, check for presence of glib-compile-schemas.
2010-04-23[gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGSJavier Jardón1-2/+2
So we don't use Automake's macro namespace Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616648
2010-04-21Rename gsettingsschemaupdatecache to the more sane gschema_compileMatthias Clasen1-2/+2
To follow existing glib pc variables for binaries.
2010-04-21Add GSettings m4 macros helperBastien Nocera2-1/+44
https://bugzilla.gnome.org/show_bug.cgi?id=616312
2009-11-03Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macroPaolo Bonzini1-2/+1
Just use the C library instead to create the file. Helps building using Wine. Not that I think we want to endorse that, but accepting this minimal patch doesn't hurt. From bug #590016. Signed-off-by: Tor Lillqvist <tml@iki.fi>
2008-10-10Bug 552861 – glib-2.0.m4 calls system(3) without storing its resultMatthias Clasen1-1/+2
2008-10-10 Matthias Clasen <mclasen@redhat.com> Bug 552861 – glib-2.0.m4 calls system(3) without storing its result * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy. Patch by Andreas Köhler svn path=/trunk/; revision=7584
2008-01-27Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132)Matthias Clasen1-2/+1
2008-01-27 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132) svn path=/trunk/; revision=6388
2008-01-15Support gio in AM_PATH_GLIB_2_0 (#509465)Dan Winship1-2/+5
2008-01-14 Dan Winship <danw@gnome.org> * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465) svn path=/trunk/; revision=6315
2007-11-21initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional21:06:47 Tim Janik1-1/+2
2007-11-21 21:06:47 Tim Janik <timj@imendio.com> * Makefile.decl: initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional appending via += in other makefiles. define recursive test targets: test, test-report, perf-report, full-report, as described here: http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html * Makefile.am: * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: * build/win32/Makefile.am, build/Makefile.am: * docs/Makefile.am, docs/reference/Makefile.am: * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am: * gmodule/Makefile.am, tests/Makefile.am: * tests/refcount/Makefile.am, tests/gobject/Makefile.am: * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am: * glib/tests/Makefile.am, glib/pcre/Makefile.am: * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am: * gthread/Makefile.am, glib/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. * glib/tests/Makefile.am: removed example testing rules. * glib/tests/testing.c: conditionalized performance and slow tests. * glib/gtestutils.h: * glib/gtestutils.c: work around g_test_config_vars not changing its exported value after value assignments, aparently due to symbol aliases. * glib/gtester.c: fixed off-by-one error which produced junk in logs. * configure.in: check for python >= 2.4 and provide $PYTHON for scripts. svn path=/trunk/; revision=5914
2007-11-08Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to beMatthias Clasen1-1/+1
2007-11-08 Matthias Clasen <mclasen@redhat.com> * configure.in: * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to be consistent with the use of PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778, Loïc Minier) svn path=/trunk/; revision=5820
2007-07-09Fix a small problem with msgfmt -c detectionMatthias Clasen1-1/+1
svn path=/trunk/; revision=5606
2007-03-06Work with Solaris gettext (#341988, Laszlo Peter)Matthias Clasen1-0/+31
2007-03-06 Matthias Clasen <mclasen@redhat.com> Work with Solaris gettext (#341988, Laszlo Peter) * m4macros/glib-gettext.m4: Make GLIB_WITH_NLS define MSGFMT_OPTS if msgfmt supports -c. * po/Makefile.in.in: Use MSGFMT_OPTS when calling msgfmt. svn path=/trunk/; revision=5369
2007-01-08Use PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan)Matthias Clasen1-10/+3
2007-01-07 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-2.0.m4: Use PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan) svn path=/trunk/; revision=5225
2007-01-03removed all .cvsignore files. SVN doesn't need them.Michael Natterer1-2/+0
2007-01-03 Michael Natterer <mitch@imendio.com> * removed all .cvsignore files. SVN doesn't need them. svn path=/trunk/; revision=5198