Commit Graph

21 Commits

Author SHA1 Message Date
Dan Winship
7f5b2901cf Remove alleged support for last-millennium Unixes
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-20 09:16:16 -05:00
Alexander Larsson
186e2d2078 Add GLIB_COMPILE_RESOURCES to glib m4 macros 2012-01-13 17:12:57 +01:00
Benjamin Otte
99d57b5ce9 glib-2.0.m4: Use unsigned variables for version numbers
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-09-23 13:57:22 +02:00
Paolo Bonzini
0d6b1ab42a Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macro
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>
2009-11-03 18:43:30 +02:00
Matthias Clasen
65ac7d4034 Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
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-10-10 04:44:53 +00:00
Dan Winship
5fa9ff14a9 Support gio in AM_PATH_GLIB_2_0 (#509465)
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
2008-01-15 10:12:58 +00:00
Matthias Clasen
e243169979 Require pkg-config 0.16 in configure and in AM_PATH_GLIB_2_0 to be
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-11-08 05:48:35 +00:00
Matthias Clasen
8a688f12f0 Use PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan)
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-08 04:42:31 +00:00
Matthias Clasen
51af5833f7 Support gmodule-no-export.
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* m4macros/glib-2.0.m4 (AM_PATH_GLIB_2_0): Support gmodule-no-export.
2004-11-17 03:38:39 +00:00
Manish Singh
0c5dee77e1 m4macros/glib-2.0.m4 quote AC_DEFUN macro names so automake 1.8 won't
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.
2004-01-28 02:46:30 +00:00
Owen Taylor
83fbec4d46 [ merged from stable ]
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)
2002-05-06 16:07:03 +00:00
Owen Taylor
fc8fd6f8cb Default to --disable-gtk-doc, to avoid Jade setup hassles.
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.
2002-03-05 05:18:23 +00:00
Sven Neumann
576fb70b5a nicer output of configure --help.
2002-02-28  Sven Neumann  <sven@gimp.org>

	* m4macros/glib-2.0.m4: nicer output of configure --help.
2002-02-28 10:03:24 +00:00
Owen Taylor
227ae2a96c Don't try to use PKG_CONFIG when we didn't find it. (#62944, Eric Lemings)
Mon Oct 29 11:29:37 2001  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-2.0.m4: Don't try to use PKG_CONFIG
        when we didn't find it. (#62944, Eric Lemings)

        * m4macros/glib-2.0.m4: Fix problem with spaces around =
        sign in assignment. (#63209, Arkadiusz Miskiewicz)
2001-10-29 16:48:40 +00:00
Darin Adler
07638db802 Update location of pkgconfig from sourceforge.net to new location at
* configure.in:
	* m4macros/glib-2.0.m4:
	Update location of pkgconfig from sourceforge.net to new
	location at freedeskop.org.
2001-07-26 20:11:42 +00:00
Havoc Pennington
fab889b14d subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables
2001-06-07  Havoc Pennington  <hp@redhat.com>

	* m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY,
	GLIB_MKENUMS variables

	* gmodule-2.0.pc.in: add gmodule_supported variable

	* glib-2.0.pc.in: add glib_genmarshal, gobject_query,
	glib_mkenums variables

	* configure.in: put G_MODULE_SUPPORTED value into
	.pc files

	* autogen.sh: support AUTOGEN_SUBDIR_MODE

	* Makefile.am: add -uninstalled.pc.in to EXTRA_DIST

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
	other libs

	* configure.in: use AM_PATH_GLIB_2_0

	* autogen.sh: support AUTOGEN_SUBDIR_MODE

	* Makefile.am: dist the .pc.in files

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
	glib-genmarshal

	* configure.in: rearrange the library checks to support
	uninstalled linking

	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE

	* atk-uninstalled.pc.in: new file, allows linking to uninstalled
	ATK in giant GTK tarball

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* tests/Makefile.am: add missing -I flag

	* gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc.

	* configure.in: use pkg-config to see if GModule is
	supported; fix to properly turn on included loaders
	when GModule isn't supported; don't use AC_CHECK_LIB
	when libs are not installed yet

	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE

	* Makefile.am (SUBDIRS): add m4macros subdir

	* gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in
	dependencies also.
2001-06-07 16:39:54 +00:00
Owen Taylor
525689823d Remove warnings about conflicts with the stable version.
Mon Apr 16 12:04:52 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Remove warnings about conflicts with the
        stable version.

	 * glib-2.0.m4: Fix some of the error text to be halfway
        up to date.

        * README.in INSTALL.in: Add these to generate README, INSTAL
        (as in the stable branch). Update.

	  * HACKING: Update.
2001-04-17 00:55:34 +00:00
Havoc Pennington
988dd88495 put AC_PATH_PROG(pkg-config) before "Checking for glib" so the output
2001-04-16  Havoc Pennington  <hp@redhat.com>

	* glib-2.0.m4: put AC_PATH_PROG(pkg-config) before "Checking for
	glib" so the output looks right
2001-04-16 15:21:19 +00:00
Alexander Larsson
88c035caa5 Pass pkg-config options before the other args so it works even if
2001-04-11  Alexander Larsson  <alexl@redhat.com>

	* glib-2.0.m4: Pass pkg-config options
	before the other args so it works even if
	POSIXLY_CORRECT is set.
2001-04-11 14:58:29 +00:00
Owen Taylor
c13277dc75 Exit with an error message that you should use pkg-config instead.
Tue Apr  3 12:38:16 2001  Owen Taylor  <otaylor@redhat.com>

	* glib-config-2.0.in: Exit with an error message that you
	should use pkg-config instead.

	* configure.in (PACKAGE): Require pkg-config.

	* tests/Makefile.am (EXTRA_DIST): Add utf8.txt.

	* configure.in (GLIB_MICRO_VERSION): Up MICRO to 3,
	leave interface/binary at 0.
2001-04-03 18:27:59 +00:00
Owen Taylor
eb023508ad Move glib-config to glib-config-2.0 move glib.m4 to glib-2.0.m4
Fri Jul 14 12:22:49 2000  Owen Taylor  <otaylor@redhat.com>

	* configure.in Makefile.am glib-config.m4 glib.m4: Move
	glib-config to glib-config-2.0 move glib.m4 to
	glib-2.0.m4

	* Makefile.am gobject/Makefile.am gmodule/Makefile.am
	gthread/Makefile.am tests/Makefile.am: Change
	library names to libglib-1.3.la, etc, so that we
	can distinguish glib-1.2 and glib-2.0 on the linkline.

	* Makefile.am gobject/Makefile.am gmodule/Makefile.am:
	Move include files into /usr/include/glib-2.0.

Thu Jul  6 18:54:49 2000  Owen Taylor  <otaylor@redhat.com>

	* docs/Makefile.am (EXTRA_DIST): Remove info files
	from the build.
2000-07-14 19:22:54 +00:00