summaryrefslogtreecommitdiff
path: root/m4macros
Commit message (Collapse)AuthorAgeFilesLines
* Let GLIB_SETTINGS macro use glib-compile-schemas from PATH when cross compilingHib Eris2010-06-151-1/+6
| | | | See bug #621172
* gsettings m4: check for .xml in src/builddirRyan Lortie2010-05-271-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.
* add .SECONDARY: rule to preserve generated schemasRyan Lortie2010-05-211-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.
* Add --uninstall option to glib-compile-schemasRyan Lortie2010-05-191-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.
* Bug 619038 - increase gsettings.m4 powerRyan Lortie2010-05-191-20/+51
| | | | handle schema checking, installation, uninstallation, cleaning
* Use the new option nameChristian Persch2010-05-151-1/+1
| | | | | It's --schema-file now, not --schema-files. Bug #616864.
* Fix issues with GSETTINGS_CHECK_RULEMatthias Clasen2010-05-141-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
* Make GSETTINGS_CHECK_RULE work in !srcdir buildsMatthias Clasen2010-05-081-1/+1
| | | | This problem was reported in bug 617823.
* Rename gschema-compile to glib-compile-schemasMatthias Clasen2010-04-231-4/+9
| | | | | And clean up the autofoo a bit: use an uppercase variable, check for pkg-config, check for presence of glib-compile-schemas.
* [gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGSJavier Jardón2010-04-231-2/+2
| | | | | | So we don't use Automake's macro namespace Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616648
* Rename gsettingsschemaupdatecache to the more sane gschema_compileMatthias Clasen2010-04-211-2/+2
| | | | To follow existing glib pc variables for binaries.
* Add GSettings m4 macros helperBastien Nocera2010-04-212-1/+44
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=616312
* Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macroPaolo Bonzini2009-11-031-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>
* Bug 552861 – glib-2.0.m4 calls system(3) without storing its resultMatthias Clasen2008-10-101-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
* Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132)Matthias Clasen2008-01-271-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
* Support gio in AM_PATH_GLIB_2_0 (#509465)Dan Winship2008-01-151-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
* initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional21:06:47 Tim Janik2007-11-211-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
* Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to beMatthias Clasen2007-11-081-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
* Fix a small problem with msgfmt -c detectionMatthias Clasen2007-07-091-1/+1
| | | | svn path=/trunk/; revision=5606
* Work with Solaris gettext (#341988, Laszlo Peter)Matthias Clasen2007-03-061-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
* Use PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan)Matthias Clasen2007-01-081-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
* removed all .cvsignore files. SVN doesn't need them.Michael Natterer2007-01-031-2/+0
| | | | | | | | | 2007-01-03 Michael Natterer <mitch@imendio.com> * removed all .cvsignore files. SVN doesn't need them. svn path=/trunk/; revision=5198
* Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)Matthias Clasen2006-12-131-1/+2
| | | | | | | 2006-12-13 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)
* fix 343825Matthias Clasen2006-11-151-0/+3
|
* Avoid stupid compiler complaints about precision loss.Matthias Clasen2005-03-111-2/+2
| | | | | | | 2005-03-11 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Avoid stupid compiler complaints about precision loss.
* Support gmodule-no-export.Matthias Clasen2004-11-171-0/+3
| | | | | | 2004-11-16 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-2.0.m4 (AM_PATH_GLIB_2_0): Support gmodule-no-export.
* Require ngettext. (#123847, Danilo Segan)Matthias Clasen2004-08-061-13/+31
| | | | | | | 2004-08-06 Matthias Clasen <mclasen@redhat.com> * m4macros/glib-gettext.m4: Require ngettext. (#123847, Danilo Segan)
* m4macros/glib-2.0.m4 quote AC_DEFUN macro names so automake 1.8 won'tManish Singh2004-01-282-3/+3
| | | | | | | | Tue Jan 27 18:45:47 2004 Manish Singh <yosh@gimp.org> * m4macros/glib-2.0.m4 * m4macros/glib-gettext.m4: quote AC_DEFUN macro names so automake 1.8 won't whine at us.
* Quote macro names to support reading the file multiple times. (#125537)Matthias Clasen2003-12-211-2/+2
| | | | | | | Sun Dec 21 22:57:58 2003 Matthias Clasen <maclas@gmx.de> * m4macros/glib-gettext.m4: Quote macro names to support reading the file multiple times. (#125537)
* Add $INTLLIBS to $LIBS temporarily, not -lintl. (Problem with fix forOwen Taylor2003-08-191-1/+1
| | | | | | | | Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS temporarily, not -lintl. (Problem with fix for #119171, pointed out by James Henstridge)
* Set $LIBS to include -lintl when checking for dcgettext andOwen Taylor2003-08-071-0/+3
| | | | | | | | Thu Aug 7 15:01:09 2003 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Set $LIBS to include -lintl when checking for dcgettext and _nl_msg_cat_cntr. (Tim Mooney, #119171)
* Test for Solaris native gettext in libc, seeing if it supports GNU catalogHidetoshi Tajima2003-06-061-2/+18
| | | | | | | Fri Jun 6 10:24:23 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * m4macros/glib-gettext.m4: Test for Solaris native gettext in libc, seeing if it supports GNU catalog format (#85217).
* Backport better handling of ALL_LINGUAS from gettext.m4. (#103808, AndrasOwen Taylor2003-05-301-8/+35
| | | | | | | Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Backport better handling of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
* expand $exec_prefix as well as $prefix. (#107290, reported by MortenOwen Taylor2003-05-301-0/+3
| | | | | | | | Fri May 30 18:46:05 2003 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: expand $exec_prefix as well as $prefix. (#107290, reported by Morten Welinder, patch from Raja Harinath)
* If msgfmt isn't found, unset gt_cv_have_gettext. (#102552, Tim Mooney)Owen Taylor2003-01-281-0/+2
| | | | | | | Tue Jan 28 16:08:56 2003 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: If msgfmt isn't found, unset gt_cv_have_gettext. (#102552, Tim Mooney)
* AC_SUBST() DATADIRNAME, not DATADIR.Owen Taylor2002-12-161-1/+1
| | | | | | | Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not DATADIR.
* Restore a missing AC_SUBST() for DATADIRNAME. (Found by Kjartan Maraas)Owen Taylor2002-12-161-0/+1
| | | | | | | Sun Dec 15 19:22:58 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Restore a missing AC_SUBST() for DATADIRNAME. (Found by Kjartan Maraas)
* Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)Owen Taylor2002-12-151-0/+5
| | | | | | | Sun Dec 15 11:24:29 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)
* Fixes from Johannes Stezenbach [...] Remove a stray setting of $LIBS.Owen Taylor2002-12-151-2/+0
| | | | | | | | Thu Dec 12 23:08:29 2002 Owen Taylor <otaylor@redhat.com> Fixes from Johannes Stezenbach [...] * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
* AC_PREREQ(2.53) here; convinces Debian's wrappers to use the rightOwen Taylor2002-12-121-0/+6
| | | | | | | | Thu Dec 12 13:52:58 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: AC_PREREQ(2.53) here; convinces Debian's wrappers to use the right autoconf for atk, etc. (Reported by Jody Goldberg)
* Unset ac_cv_func_bind_textdomain_codeset before callingOwen Taylor2002-12-111-0/+1
| | | | | | | | | | | Wed Dec 11 17:49:15 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Unset ac_cv_func_bind_textdomain_codeset before calling AC_CHECK_FUNCS(bind_textdomain_codeset) again. * configure.in: Remove duplicate call to AC_CHECK_FUNCS(bind_textdomain_codeset)
* Factor out repeated thread test into a m4_define(); when cross-compiling,Owen Taylor2002-12-111-1/+1
| | | | | | | | | | | Wed Dec 11 15:10:25 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Factor out repeated thread test into a m4_define(); when cross-compiling, assume that AC_LINK_IFELSE() is good enough for thinking that -pthread[s] is OK. (More of #58786) * m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
* Version 2.1.4, interface age 1.Owen Taylor2002-12-111-120/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | Wed Dec 11 14:28:50 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Version 2.1.4, interface age 1. * m4macros/glib-gettext.m4: Major rewrite; remove leftovers from building intl/, prefer libintl if both libc and libintl have dgettext and libintl also has bind_textdomain_codeset(). (#70627) * configure.in acinclude.m4: Use an include to avoid having to duplicate the gettext macros between glib-gettext.m4 and acinclude.m4. * m4macros/glib-gettext.m4: Do some tricks so that configure.in can use macros under hidden names, but aclocal will still find them when installed. * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR to encapsulate install location of catalog files. * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR): Fix bug where if --prefix wasn't set on the configure line, GLib would look for translations in NONE/share/locale.
* fix tyopjacob berkman2002-05-221-1/+1
| | | | | | 2002-05-22 jacob berkman <jacob@ximian.com> * m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
* Remove notes about now-fixed-bugs.Owen Taylor2002-05-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com> * README.in: Remove notes about now-fixed-bugs. * m4macros/glib-gettext.m4 acinclude.m4: Get rid of AC_MSG_NOTICE() usage, since some broken systems (Hi Debian!) might not be using autoconf-2.5x for downstream packages even though we require it for glib itself. * INSTALL.in: Add a note about installing extra converters for Solaris. * glib/gutils.h (g_bit_nth_msf): Fix termination condition. (#82582, Paolo Molaro) Wed May 22 15:24:04 2002 Owen Taylor <otaylor@redhat.com> * README.translators: Add from GTK+. * *.po: Convert all po files to UTF-8.
* Move iconv tests before gettext checks. (#81999)Owen Taylor2002-05-211-10/+18
| | | | | | | | | | | | | | | | Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Move iconv tests before gettext checks. (#81999) * m4macros/glib-gettext.m4 acinclude.m4: If we can't link to gettext, try adding in -liconv. (#80076, Boyd Lynn Gerber) * m4macros/glib-gettext.m4 acinclude.m4: Suppress warnings about xgettext not being GNU gettext when libintl wasn't found at all. (#79016, Andrew P. Lentvorski, Jr.)
* Incorporate AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoidOwen Taylor2002-05-161-4/+53
| | | | | | | | Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com> * acinclude.m4 m4macros/glib-gettext.m4: Incorporate AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
* [ merged from stable ]Owen Taylor2002-05-061-3/+3
| | | | | | | | | | | | | | | | | | Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com> [ merged from stable ] * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641) * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when compiling "what went wrong" test case. (#79330) * m4macros/glib-2.0.m4: Remove reference to editing pkg-config script. (From Jim Gettys) * configure.in: (Look for dyld interfaces before dlopen() since OS X can have both. Patch from Jacob Berkman, #80438)
* Default to --disable-gtk-doc, to avoid Jade setup hassles.Owen Taylor2002-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | Sun Mar 3 21:09:24 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Default to --disable-gtk-doc, to avoid Jade setup hassles. * autogen.sh: Add --enable-gtk-doc. * configure.in: Default to --disable-static to go along with Pango, GTK+ where we need to do that for bin-compat reasons. * Makefile.am: Add a slightly modified distcheck rule that passes --enable-gtk-doc to the configure inside. (So that 'make dist' succeeds inside.) * configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4 tests/makefile.mingw.in: Switch everything over to glib-2.0.
* nicer output of configure --help.Sven Neumann2002-02-281-1/+1
| | | | | | 2002-02-28 Sven Neumann <sven@gimp.org> * m4macros/glib-2.0.m4: nicer output of configure --help.